Files
kotlin-fork/compiler/testData/codegen/box/callableReference/property/kt15447.kt
T
Roman Artemev 080e1ad5b5 [JS IR BE]
* Fix type parameters for callable references
 * Visit IrCallableReference tree as well
2018-10-25 15:49:22 +03:00

13 lines
205 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
//WITH_RUNTIME
fun box(): String {
var methodVar = "OK"
fun localMethod() : String
{
return lazy { methodVar }::value.get()
}
return localMethod()
}