I remember a post about it on the compose side where the compiler seems to have been fixed, but I cannot find it. Currently using kotlin 1.4.21 and compose alpha09
d
dagomni
01/03/2021, 6:27 PM
I'm using Kotlin version 1.4.21-2, Compose compiler 1.4.21, Compose snapshot latest build and it does fail with a long stacktrace ending with
Couldn't obtain compiled function body for @androidx.compose.runtime.ComposableContract @androidx.compose.runtime.Composable @kotlin.jvm.JvmName public final inline fun <get-current>(): T defined in androidx.compose.runtime.Ambient[PropertyGetterDescriptorImpl@38208cf]