Files
kotlin-fork/idea/idea-completion/testData/basic/common/ImmediateMembers4.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
293 B
Kotlin
Vendored

trait T {
fun foo1(){}
fun foo2(){}
}
class B(worker: T) : T by worker {
override fun foo1() { }
}
fun foo(b: B) {
b.<caret>
}
// EXIST: { itemText: "foo1", attributes: "bold" }
// EXIST: { itemText: "foo2", attributes: "" }
// EXIST: { itemText: "equals", attributes: "" }