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
{{ message }}
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
Kotlin, like Swift, supports protocol inheritance. It would be useful to analyze and compare the feature in the two languages and see which cases can be translated correctly.
The text was updated successfully, but these errors were encountered:
Hi! I took a look at this today and it doesn't look like it's gonna cause many problems. The implementation should be pretty simple. Maybe something like:
Add an inheritances property to the ProtocolDeclaration class (like the one we have in ClassDeclaration).
Put the inherited protocols in the property in both SwiftSyntaxDecoder.swift and SwiftTranslator.swift (again, just like with ClassDeclaration).
Fix any build errors that show up in TranspilationPass.swift.
Add the inheritances to the Kotlin code in KotlinTranslator.swift.
If you want to try an implementation, go ahead! If you have any problems, just let me know. Otherwise, I may be able to do this next weekend. Feel free to ping me if I forget.
Kotlin, like Swift, supports protocol inheritance. It would be useful to analyze and compare the feature in the two languages and see which cases can be translated correctly.
The text was updated successfully, but these errors were encountered: