K J03/19/2023, 8:10 PM
that seems to create a synthetic property named
that works on any
and returns a
. However, compilation still fails because the property getter has no function body:
Is the next step to add a function body to this property with an
Caused by: java.lang.IllegalStateException: Function has no body: FUN name:<get-test> visibility:public modality:OPEN <testDescriptor> ($receiver:kotlin.Any) returnType:kotlin.String
? Or is that wrong / is there a better method?