Smart completion: fixed items ordering issue
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class Name {
|
||||
class object {
|
||||
fun create(): Name = Name()
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(name: Name){}
|
||||
|
||||
fun bar() {
|
||||
val v: (Name) -> Unit = { foo(<caret>) }
|
||||
}
|
||||
|
||||
// ORDER: it
|
||||
// ORDER: create
|
||||
// ORDER: Name
|
||||
@@ -15,6 +15,6 @@ fun foo(p: C?) {
|
||||
// ORDER: p
|
||||
// ORDER: local
|
||||
// ORDER: global
|
||||
// ORDER: C.INSTANCE
|
||||
// ORDER: INSTANCE
|
||||
// ORDER: object
|
||||
// ORDER: null
|
||||
|
||||
@@ -19,10 +19,10 @@ fun foo(pFoo: C, s: String) {
|
||||
// ORDER: pFoo
|
||||
// ORDER: nullableFoo
|
||||
// ORDER: nullableFoo
|
||||
// ORDER: C.INSTANCE_FOO
|
||||
// ORDER: INSTANCE_FOO
|
||||
// ORDER: local
|
||||
// ORDER: nonNullable
|
||||
// ORDER: nullableX
|
||||
// ORDER: nullableX
|
||||
// ORDER: C.INSTANCE_X
|
||||
// ORDER: INSTANCE_X
|
||||
// ORDER: object
|
||||
|
||||
Reference in New Issue
Block a user