Files
kotlin-fork/compiler/testData/codegen/box/classes/kt1611.kt
T
2018-06-28 12:26:41 +02:00

13 lines
212 B
Kotlin
Vendored

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