Files
kotlin-fork/idea/idea-completion/testData/smart/EqOperator.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

17 lines
311 B
Kotlin
Vendored

enum class E {
A
B
}
fun f(e1: E, e2: E?, x: Any) {
if (e1 == <caret>
}
// EXIST: { lookupString:"A", itemText:"E.A", typeText:"E" }
// EXIST: { lookupString:"B", itemText:"E.B", typeText:"E" }
// EXIST: { itemText:"e2" }
// ABSENT: { itemText:"!! e2" }
// ABSENT: e1
// ABSENT: x
// ABSENT: null