Files
kotlin/compiler/testData/codegen/bytecodeText/inline/linenumberForOneParametersArgumentCall.kt
2016-10-14 14:52:06 +03:00

12 lines
230 B
Kotlin
Vendored

fun box() {
lookAtMe {
val c = "c"
}
}
inline fun lookAtMe(f: (String) -> Unit) {
val a = "a"
f(a) // Should be no unneeded nops on this line, that might be generated for zero-parameters lambda
}
// 2 NOP