https://kotlinlang.org logo
#compose
Title
# compose
d

dagomni

01/12/2021, 11:19 AM
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
j

John O'Reilly

01/12/2021, 11:23 AM
(Along with other repos at https://github.com/joreilly that are using Compose and Kotlin Multiplatform)
d

dagomni

01/12/2021, 11:30 AM
But you're not using Compose with the rest in one module though
When I use it in a separate module, it does work
j

John O'Reilly

01/12/2021, 11:31 AM
ah, missed that this was in one module
d

dagomni

01/12/2021, 11:32 AM
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 😅