Shaun Wild
04/29/2025, 12:15 PMDetected a @Composable function that overrides an open function compiled with older compiler that is known to crash at runtime. Consider recompiling the dependency with a newer compiler version (>= 2.1.20) to get correct behavior. See <https://issuetracker.google.com/165812010> for more details.
This is impossible because the open function in question is in the same project?Shaun Wild
04/29/2025, 12:15 PMinterface ComposeEditor<T : Any> {
@Composable
fun CreateEditor(type: KClass<out T>, value: T?, onValueChange: (T) -> Unit = {})
}
This is my base classShaun Wild
04/29/2025, 12:15 PMobject StringEditor : ComposeEditor<String> {
@Composable
override fun CreateEditor(type: KClass<out String>, value: String?, onValueChange: (String) -> Unit) {
TextField(
value = value ?: "",
onValueChange = onValueChange
)
}
}
Shaun Wild
04/29/2025, 12:16 PMjava.lang.AbstractMethodError: Receiver class dev.wildware.udea.editors.StringEditor does not define or inherit an implementation of the resolved method 'abstract void CreateEditor(kotlin.reflect.KClass, java.lang.Object, kotlin.jvm.functions.Function1, androidx.compose.runtime.Composer, int)' of interface dev.wildware.udea.editors.ComposeEditor.
Shaun Wild
04/29/2025, 12:17 PMBaghaii
04/29/2025, 1:30 PMPearce Keesling
04/29/2025, 1:39 PMShaun Wild
04/29/2025, 4:11 PMShaun Wild
04/29/2025, 4:11 PMShaun Wild
04/29/2025, 4:11 PMShaun Wild
04/29/2025, 4:11 PMPearce Keesling
04/29/2025, 4:11 PMshikasd
04/30/2025, 10:04 AMshikasd
04/30/2025, 10:05 AM