Files
kotlin/compiler/testData/codegen/bytecodeText/inline/linenumberForOneParametersArgumentCall.kt
Ilmir Usmanov 871134cff8 Update test data
#KT-28309
2018-12-28 14:18:39 +03:00

14 lines
257 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
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
}
// 3 NOP