Files
kotlin-fork/compiler/testData/codegen/composeLikeBytecodeText/defaultLocal.kt
T
Mads Ager fadedc84db [JVM_IR] Refactor and add bytecode text tests for compose-like code.
Tests that the default argument mask is not in the local variable
table.
2020-12-10 17:22:18 +01:00

9 lines
228 B
Kotlin
Vendored

fun box(): String {
fun foo(s: String = "O") = s
return foo() + foo("K")
}
// For Compose special default arugment handling, we still do not want
// the default argument mask in the local variable table.
// 0 \$default