-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Wrong bytecode generated on 1.3.7 in Android Studio #2050
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
Comments
+1 to this, just faced the issue while upgrading from 1.3.5 to 1.3.7. |
1.3.6 works fine for me. I get the error on 1.3.7 |
+1. From 1.3.5 to 1.3.7, same issue |
Unfortunately, this is a bug in Kotlin compiler related to function with contracts that were added in #2030. We are working on the fix, a workaround is to extract Also, it is fixed in 1.4-M2 compiler: https://youtrack.jetbrains.com/issue/KT-39298 |
This still is an issue in 1.3.8 |
They said it is a compiler bug, not a bug in this library. |
Fixed in 1.3.9 with Kotlin 1.4 |
|
facing this error |
Facing same error, how to solve? |
This is also happened in our CI |
Hello! After migrating to version 1.3.7 there is an error raised in this piece of code:
Stack trace:
Solution that works for me is to move
runBlocking
call into separate function and call that function or to downgrade to version 1.3.6. But, I think, this is really a bug, because it can be reproduced only on version 1.3.7.Environment:
The text was updated successfully, but these errors were encountered: