interface A {
fun f() : String
}
val B = { attr : String ->
object : A {
override fun f() = attr
}
}
I'm getting this error at the definition of B:
'public' property exposes its 'local' type argument <no name provided>
What is the cause of this error?