Only named parameters in completion when nothing else can be
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun foo(first: Int, second: Int, third: String) {
|
||||
}
|
||||
|
||||
fun test(p: Int) = foo(12, <caret>, third = "")
|
||||
|
||||
// EXIST: p
|
||||
// ABSENT: first
|
||||
// ABSENT: third
|
||||
// EXIST: second
|
||||
@@ -0,0 +1,9 @@
|
||||
fun foo(first: Int, second: Int, third: String) {
|
||||
}
|
||||
|
||||
fun test(p: Int) = foo(12, third = "", <caret>)
|
||||
|
||||
// ABSENT: p
|
||||
// ABSENT: first
|
||||
// ABSENT: third
|
||||
// EXIST: second
|
||||
Reference in New Issue
Block a user