Is it prohibited to have a `value class(val conten...
# compose
z
Is it prohibited to have a
value class(val content: @Composable () -> String)
? Tweaking it to use a normal or data class solves the crash.
Copy code
java.lang.NoSuchMethodError: 'androidx.compose.runtime.internal.ComposableFunction0 constructor-impl(kotlin.jvm.functions.Function2)'