-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[K2] Compilation error on overridden declarations #188
Comments
Thanks for testing the K2 mode and reporting this!
This is an interesting use case. It indeed doesn't work at the moment. Could you possibly share some more details on this use case?
That's actually an expected error from the Kotlin compiler. |
Historically we have the interface
Answering your question:
This is why currently we have 2 options:
|
Steps:
1 . Enable k2Mode in Gradle plugin.
./gradlew podPublishDebugXCFramework
Expected: compilation successful
Actual: compilation error
Note:
If we want to generate Native coroutine overload only to one interface, we get an another error.
Error:
The text was updated successfully, but these errors were encountered: