Files
kotlin-fork/idea/idea-completion/testData/weighers/smart/SmartPriority.kt
T
2015-08-14 17:38:38 +03:00

24 lines
385 B
Kotlin
Vendored

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
// ORDER: nullableFoo
// ORDER: nullableFoo
// ORDER: "pFoo, s"
// ORDER: this
// ORDER: local
// ORDER: nonNullable
// ORDER: apply
// ORDER: nullableX
// ORDER: nullableX
// ORDER: C