Ordering items in smart completion for boolean

This commit is contained in:
Valentin Kipyatkov
2014-10-20 17:38:23 +04:00
parent 9cf50154d2
commit 4068879d84
3 changed files with 25 additions and 2 deletions
@@ -0,0 +1,21 @@
var nonNullable: Boolean = true
var nullableX: Boolean? = null
var nullableFoo: Boolean? = null
fun foo(pFoo: Boolean, s: String) {
val local = true
foo(<caret>)
}
// ORDER: "pFoo, s"
// ORDER: pFoo
// ORDER: nullableFoo
// ORDER: nullableFoo
// ORDER: true
// ORDER: false
// ORDER: local
// ORDER: ASSERTIONS_ENABLED
// ORDER: nonNullable
// ORDER: nullableX
// ORDER: nullableX