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
This commit is contained in:
cketti
2020-09-03 19:45:32 +02:00
committed by Vladimir Dolzhenko
parent 343010a833
commit 78493395c3
7 changed files with 75 additions and 3 deletions
@@ -0,0 +1,8 @@
open class A(x: Int) {
fun m(x: Int, y: Int) = 2
fun d(x: Int) {
m(1, 2, 3<caret>)
}
}
//Text: (x: Int, y: Int), Disabled: true, Strikeout: false, Green: true