Files
2022-03-17 15:07:00 +09:00

14 lines
451 B
Kotlin

// COMPILER_ARGUMENTS: -XXLanguage:-MixedNamedArgumentsInTheirOwnPosition
open class A(x: Int) {
fun m(x: Boolean, y: Int) = 1
fun m(x: Boolean, y: Int, z: Int) = 2
fun d(x: Int) {
m(false, y = 23<caret>)
}
}
/*
Text: (x: Boolean, <highlight>[y: Int]</highlight>), Disabled: false, Strikeout: false, Green: true
Text: (x: Boolean, <highlight>[y: Int]</highlight>, [z: Int]), Disabled: false, Strikeout: false, Green: false
*/