-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 @Composable reified inline functions fails to compile for iOS targets #2900
Comments
Unfortunately, it fails earlier on my side with "unable to open configuration settings file". Then I tried to copy-paste problematic code into https://github.com/JetBrains/compose-multiplatform-template |
Thanks for the quick reply 🙂 unfortunately, I need this to be not internal for another multiplatform multimodule project where this Feel free to close #2901 and #2903 if they are all caused by the same underlying issue. I'll watch this issue for future updates 👍 |
With compose-multiplatform 1.5.10,. The error message is now updated to
I've updated the original issue description to match the observations from the latest findings |
I'm seeming a similar error with Circuit, no changes in code from 1.6.2 only upgrading to Kotlin 2.0 (from 1.9.23) and Compose 1.6.10. Here's the call stack:
|
It sounds very similar to #3147 (fixed in 1.6.10) |
Hi, @bidrohi! could you please provide some reproducer? |
I'm working to narrow down the issue to see if I can get to a small reproducable package. |
I'm unable to reproduce this at all now, even on the large project.. may be some configuration cache issue? 🤷🏽♂️ |
Closing as solved in 1.6.10 |
Describe the bug
I have a simple
@Composable
inline function with reified template parameters like thiscompiling this for any ios target fails with
I think i have all my dependencies set correctly so not sure why this is popping up 🤔
However, this error goes away as soon as you make the same function not inline and not reified
Affected platforms
Select one of the platforms below:
Versions
To Reproduce
Steps and/or the code snippet to reproduce the behavior:
Expected behavior
@Composable
inline function with reified template parameters to build and linked correctly.The text was updated successfully, but these errors were encountered: