dasralph
01/03/2021, 11:40 AMIllegalStateException: Can't find name for declaration FUN name:Foo_init_$Create$ visibility:public modality:FINAL <> (bar:kotlin.String?, $mask0:<http://kotlin.Int|kotlin.Int>, $marker:kotlin.js.DefaultConstructorMarker?) returnType:api.model.Foo
.
I assume this is a bug but is there a small workaround for it? Or do I need to wait until it is fixed?
@ExperimentalJsExport
@JsExport
data class Foo(
val bar: String? = null
)
andylamax
01/05/2021, 4:22 PM