Files
kotlin-fork/idea/testData/completion/weighers/smart/SmartPriority.kt
T
Valentin Kipyatkov 65c30902e7 KT-6028 Smart completion items priority
#KT-6028 Fixed
2014-10-22 15:45:16 +04:00

23 lines
369 B
Kotlin

var nonNullable: C = C()
class C {
var nullableX: C? = null
var nullableFoo: C? = null
fun foo(pFoo: C, s: String) {
val local = C()
foo(<caret>)
}
}
// ORDER: "pFoo, s"
// ORDER: pFoo
// ORDER: nullableFoo
// ORDER: nullableFoo
// ORDER: this
// ORDER: local
// ORDER: nonNullable
// ORDER: nullableX
// ORDER: nullableX
// ORDER: C