Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt3903.kt
T

12 lines
167 B
Kotlin
Vendored

class Foo {
fun bar(): String {
fun <T> foo(t:() -> T) : T = t()
foo { }
return "OK"
}
}
fun box(): String {
return Foo().bar()
}