-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Using a public property extensions inside a class or object with a @Composable backing delegate fails to link for iOS targets #3084
Comments
I can confirm this. I am using setters/getters extensions for the time being. |
I also have the same problem |
i have this problem |
There is a possible workaround described here: #3175 (comment) One more option is to change the visibility of the class if it's okay:
Also, as mentioned already by @pablichjenkov: class G {...}
val G.text
@Composable get() = "Some text" It seems that in kotlin 1.9.0 it will be possible to add |
Hey everyone! compose {
kotlinCompilerPlugin.set("1.4.7")
} In the next release, setting |
Indeed, the problem seems to be gone with above configuration. Thanks |
It doesn't quite work for me as
|
@MikolajKakol compose {
kotlinCompilerPlugin.set("1.4.7")
} In the next release, this step won't be needed. |
Is "wed" also a module? |
You need to add bellow code in all modules build.gradle file.
|
That helped, I only added it for shared, sorry and thank you 😊 |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Describe the bug
Given code should compile on iOS as it does on Android, similar to #2901
or
It fails with
Affected platforms
Select one of the platforms below:
Versions
To Reproduce
As in #2901
Expected behavior
It should compile
The text was updated successfully, but these errors were encountered: