Files
kotlin/compiler/testData/codegen/box/classes/kt1611.kt
2018-08-09 14:22:50 +03:00

12 lines
186 B
Kotlin
Vendored

fun box(): String {
return Foo().doBar("OK")
}
class Foo() {
val bar : (str : String) -> String = { it }
fun doBar(str : String): String {
return bar(str);
}
}