Ordinary completion includes some items from smart completion + changed priority for multi-args item in smart completion
#KT-8580 Fixed
This commit is contained in:
@@ -8,10 +8,10 @@ fun foo(pFoo: Boolean, s: String) {
|
||||
foo(<caret>)
|
||||
}
|
||||
|
||||
// ORDER: "pFoo, s"
|
||||
// ORDER: pFoo
|
||||
// ORDER: nullableFoo
|
||||
// ORDER: nullableFoo
|
||||
// ORDER: "pFoo, s"
|
||||
// ORDER: true
|
||||
// ORDER: false
|
||||
// ORDER: local
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
fun foo(a: Int, b: String, c: String) {}
|
||||
fun foo(xa: Int, xb: String, xc: Int) {}
|
||||
|
||||
fun bar(b: String, a: Int, c: String) {
|
||||
fun bar(xb: String, xa: Int, xc: Int) {
|
||||
foo(<caret>)
|
||||
}
|
||||
|
||||
// ORDER: "a, b, c"
|
||||
// ORDER: a
|
||||
// ORDER: xa
|
||||
// ORDER: "xa, xb, xc"
|
||||
// ORDER: xc
|
||||
|
||||
@@ -10,10 +10,10 @@ class C {
|
||||
}
|
||||
}
|
||||
|
||||
// ORDER: "pFoo, s"
|
||||
// ORDER: pFoo
|
||||
// ORDER: nullableFoo
|
||||
// ORDER: nullableFoo
|
||||
// ORDER: "pFoo, s"
|
||||
// ORDER: this
|
||||
// ORDER: local
|
||||
// ORDER: apply
|
||||
|
||||
@@ -15,11 +15,11 @@ fun foo(pFoo: C, s: String) {
|
||||
}
|
||||
|
||||
|
||||
// ORDER: "pFoo, s"
|
||||
// ORDER: pFoo
|
||||
// ORDER: nullableFoo
|
||||
// ORDER: nullableFoo
|
||||
// ORDER: INSTANCE_FOO
|
||||
// ORDER: "pFoo, s"
|
||||
// ORDER: local
|
||||
// ORDER: nonNullable
|
||||
// ORDER: nullableX
|
||||
|
||||
Reference in New Issue
Block a user