You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current version transforms Swift code to an AST and then back to Kotlin, but the initial comments get removed.
A possible solution would be to look for all comments (contained in the TopDeclaration) and look for the closest node in the Swift code and place it next to the first corresponding Kotlin token. This strategy could result in comments wrongly placed in some circumstances, but should work OK on most cases.
The text was updated successfully, but these errors were encountered:
Current version transforms Swift code to an AST and then back to Kotlin, but the initial comments get removed.
A possible solution would be to look for all comments (contained in the
TopDeclaration
) and look for the closest node in the Swift code and place it next to the first corresponding Kotlin token. This strategy could result in comments wrongly placed in some circumstances, but should work OK on most cases.The text was updated successfully, but these errors were encountered: