I got this exception: `kotlin.reflect.jvm.interna...
# announcements
n
I got this exception:
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Introspecting local functions, lambdas, anonymous functions and local variables is not yet fully supported in Kotlin reflection
In function
toString()
of a data class. The data class contains a lambda. Do I need to override
toString()
to exclude the lambda? Or lambdas are not allowed in data classes at all?
stackoverflow 1
v
It would be easier to answer with some sample code. Could you post your question on StackOverflow?