d

    dagomni

    1 year ago
    Did someone have any success combining Kotlin 1.4.21-2, Multiplatform, Serialization and Compose in one module? I think I tried configuring it in every possible way (known to me) and there is an issue during build
    Back-end (JVM) Internal error: Couldn't inline method call '<get-current>' into @androidx.compose.runtime.Composable
    John O'Reilly

    John O'Reilly

    1 year ago
    (Along with other repos at https://github.com/joreilly that are using Compose and Kotlin Multiplatform)
    d

    dagomni

    1 year ago
    But you're not using Compose with the rest in one module though
    When I use it in a separate module, it does work
    John O'Reilly

    John O'Reilly

    1 year ago
    ah, missed that this was in one module
    d

    dagomni

    1 year ago
    1.4.21-2 came out so I thought I'll give it a try (finally build is not getting stuck when combining Compose + Serialization) but now this came up 😅
    I think this may be related to this issuehttps://youtrack.jetbrains.com/issue/KT-38694 At least this strange workaround helped me:https://github.com/avdim/compose_mpp_workaround So I'm just letting know in case anyone else comes across this error