Smart completion to work when some of previous arguments have errors (+ fixed testAfterEmptyArgument broken by previous changes)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class A
|
||||
class B
|
||||
class C
|
||||
class D
|
||||
class E
|
||||
|
||||
fun foo(s: String, a: A){}
|
||||
fun foo(p: Int, b: B, c: C){}
|
||||
fun foo(s: String, d: D, e: E, a: A){}
|
||||
|
||||
fun f(pa: A, pb: B, pc: C, pd: D, pe: E) {
|
||||
foo(xxx, pb, <caret>)
|
||||
}
|
||||
|
||||
// EXIST: pc
|
||||
// ABSENT: pa, pb, pd, pe
|
||||
Reference in New Issue
Block a user