Files
kotlin-fork/idea/idea-completion/testData/basic/common/boldOrGrayed/ImmediateMembers3.kt
T
2016-11-07 21:39:41 +03:00

15 lines
308 B
Kotlin
Vendored

interface T {
fun f(){}
}
fun foo(o: T) {
if (o is Comparable<T>) {
o.<caret>
}
}
// EXIST: { itemText: "compareTo", attributes: "bold" }
// EXIST: { itemText: "f", attributes: "bold" }
// EXIST: { itemText: "hashCode", attributes: "" }
// EXIST: { itemText: "equals", attributes: "" }