https://kotlinlang.org logo
Title
n

nil2l

12/29/2017, 10:15 AM
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

voddan

12/29/2017, 10:19 AM
It would be easier to answer with some sample code. Could you post your question on StackOverflow?