7755d9fe24
When using named arguments the IDE might be unable to map the current argument to a parameter. In that case mark already used parameters as disabled. That way developers can easily see which parameters have not been used yet. ^KTIJ-128 Fixed
10 lines
351 B
Kotlin
Vendored
10 lines
351 B
Kotlin
Vendored
open class A(x: Int) {
|
|
fun m(a: String = "a", b: String = "b", c: String = "c", d: String = "d") = 1
|
|
|
|
fun d(x: Int) {
|
|
m(b = "x", d = "x", <caret>)
|
|
}
|
|
}
|
|
/*
|
|
Text: (<disabled>[b: String = "b"], [d: String = "d"],</disabled><highlight> </highlight>[a: String = "a"], [c: String = "c"]), Disabled: false, Strikeout: false, Green: true
|
|
*/ |