Files
kotlin-fork/idea/idea-completion/testData/basic/common/ImmediateExtensionMembers4.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

18 lines
341 B
Kotlin
Vendored

fun C.extFunForC(){}
fun T.extFunForT(){}
fun Any.extFunForAny(){}
open class C {
fun foo() {
if (this is T) {
<caret>
}
}
}
trait T
// EXIST: { itemText: "extFunForT", attributes: "bold" }
// EXIST: { itemText: "extFunForC", attributes: "bold" }
// EXIST: { itemText: "extFunForAny", attributes: "" }