Files
kotlin-fork/idea/idea-completion/testData/weighers/smart/NullableExpected.kt
T
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00

21 lines
253 B
Kotlin
Vendored

var global: C = C()
abstract class C {
companion object {
val INSTANCE = C()
}
}
fun foo(p: C?) {
val local = C()
foo(<caret>)
}
// ORDER: p
// ORDER: local
// ORDER: global
// ORDER: INSTANCE
// ORDER: object
// ORDER: null