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

19 lines
553 B
Kotlin
Vendored

fun String.extFunForString(){}
fun Any.extFunForAny(){}
fun String?.extFunForStringNullable(){}
class C {
fun Any.memberExtFunForAny(){}
fun String?.memberExtFunForStringNullable(){}
fun foo() {
"".<caret>
}
}
// EXIST: { itemText: "extFunForString", attributes: "bold" }
// EXIST: { itemText: "extFunForAny", attributes: "" }
// EXIST: { itemText: "extFunForStringNullable", attributes: "" }
// EXIST: { itemText: "memberExtFunForAny", attributes: "" }
// EXIST: { itemText: "memberExtFunForStringNullable", attributes: "" }