Files
kotlin-fork/idea/testData/parameterInfo/functionCall/TooManyArgs.kt
T
cketti 78493395c3 Don't mark signature as inapplicable when argument is empty/incomplete
This will improve the usability when using named arguments where
incomplete arguments can't be mapped to a parameter simply by position.

^KT-24172 Fixed
2020-09-04 13:11:24 +02:00

9 lines
241 B
Kotlin
Vendored

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