-
Notifications
You must be signed in to change notification settings - Fork 752
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
@PropDefault problem on kotlin 1.4.10 #720
Comments
Hi @TimurKhairnasov ! Yep, seems that it's happening due to the new synthetics methods generation behaviour: https://kotlinlang.org/docs/reference/compatibility-guide-14.html#kapt-names-of-synthetic-annotations-methods-for-properties-have-changed To mitigate this you can mark |
@colriot, compilation has fixed, but default values are not setting up. Int value is 0, despite of PropDefault value. |
I have the same issue 😕 , @TimurKhairnasov have you found a workaround? |
Ok, I have found a workaround, after seeing this: Line 111 in bad7023
Change all I checked generated (thanks @tychota for pointing me in the right direction) 🥳 |
Well hello there 😄 I remember the days I was fixing this 😂 @colriot should I give it a try and port it to the new behavior? |
@tpucci helped me too, thanks! |
Version
0.38.0
Issues and Steps to Reproduce
After upgrate kotlin to 1.4.10 can't build project because of the problem below:
it goes from @PropDefault value. Removing it solves the problem, but I'd like to use it)
@colriot take a look, please)
The text was updated successfully, but these errors were encountered: