Files
kotlin-fork/compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransformation.kt
T
Alexander Udalov 445b2d6eb1 JVM IR: minor, unmute bytecode text test
Also fix typo in the name
2020-09-29 12:38:54 +02:00

27 lines
493 B
Kotlin
Vendored

fun test() {
{
{}()
}()
}
inline fun ifun(s: () -> Unit) {
s()
}
fun test2() {
var z = 1;
ifun {
{ z = 2 }()
}
}
// 1 class DeleteClassOnTransformationKt\$test\$1\$1
// JVM_TEMPLATES:
// 0 class DeleteClassOnTransformationKt\$test2\$1\$1
// 1 class DeleteClassOnTransformationKt\$test2\$\$inlined\$ifun\$lambda\$1
// JVM_IR_TEMPLATES:
// 1 class DeleteClassOnTransformationKt\$test2\$1\$1
// 0 class DeleteClassOnTransformationKt\$test2\$\$inlined