Ordering items in smart completion for nullable

This commit is contained in:
Valentin Kipyatkov
2014-10-20 17:44:52 +04:00
parent 4068879d84
commit f5f5b514d4
3 changed files with 22 additions and 1 deletions
@@ -0,0 +1,20 @@
var global: C = C()
abstract class C {
class object {
val INSTANCE = C()
}
}
fun foo(p: C?) {
val local = C()
foo(<caret>)
}
// ORDER: p
// ORDER: local
// ORDER: global
// ORDER: C.INSTANCE
// ORDER: object
// ORDER: null