Files
kotlin-fork/compiler/testData/codegen/composeLikeBytecodeText/defaultLocal.kt
T
Mads Ager a7efa5c98b [IR] Fix remapping of arguments in LocalDeclarationsLowering.
It only remapped arguments for IrGetValue and not for IrSetValue.
This is hitting Compose which has non-standard default argument
handling.
2020-12-10 17:22:18 +01:00

5 lines
83 B
Kotlin
Vendored

fun box(): String {
fun foo(s: String = "O") = s
return foo() + foo("K")
}