-
Notifications
You must be signed in to change notification settings - Fork 8
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
Incorrect generation for private set properties #57
Comments
Hi! I was able to reproduce this error, and it will likely be fixed in the next bug-fix release. In the meantime, you can work around this problem by disabling the global wrapper for this property using the Gradle configuration:
|
It works, but it must be "false" in last line. But anyway - thank you for so fast answer and help! Do I need to close this issue? |
Oh, yeah, it should be "false". I was testing if it works and forgot to change it back :D I corrected the code in the previous comment. No need to close this issue, I will close it after we have a proper fix. |
Fixed in 0.6.2. |
What is the problem?
Skie generates incorrect implementation for global property, and fails to build for iOS.
My 'linkPodDebugFrameworkIosSimulatorArm64' fails with:
build/skie/binaries/podDebugFramework/DEBUG/iosSimulatorArm64/swift/generated/Runtime/Runtime.LiveLiteralKt.swift:8:32: error: cannot assign to property: 'isLiveLiteralsEnabled' is a get-only property
Here is implementation from this file
While LiveLiteral.kt (from Jetbrains Compose) looks like
Kotlin version: 1.9.22
SKIE version: 0.6.1
The text was updated successfully, but these errors were encountered: