b4051c4577
Such check should only be generated for a function in an open class #KT-11962 Fixed
15 lines
286 B
Kotlin
Vendored
15 lines
286 B
Kotlin
Vendored
class A {
|
|
fun test(x: String? = "x", a: String?, b: String?, y: String? = "y") {
|
|
|
|
}
|
|
|
|
fun box(): String {
|
|
test(b = "K", a = "O")
|
|
return "OK"
|
|
}
|
|
}
|
|
|
|
// Test argument reordering when call site argument order differs from declaration one
|
|
// 12 LOAD
|
|
// 5 STORE
|