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

21 lines
343 B
Kotlin
Vendored

class C {
fun String.extFun() {
<caret>
}
fun String.otherExtFun() { }
fun Int.wrongExtFun() { }
companion object {
fun String.companionExtFun() { }
}
}
fun String.nonMemberExtFun() {}
// EXIST: extFun
// EXIST: otherExtFun
// ABSENT: wrongExtFun
// EXIST: nonMemberExtFun
// EXIST: companionExtFun