Files
kotlin-fork/idea/idea-completion/testData/smart/InfixCall.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
286 B
Kotlin
Vendored

class X {
fun foo(i: Int) = ""
fun bar() = ""
val prop: String = ""
}
fun X.ext1(s: String) = ""
fun X.ext2() = ""
fun X.extProp: String get() = ""
val s: String = X() <caret>
// EXIST: foo
// ABSENT: bar
// ABSENT: prop
// EXIST: ext1
// ABSENT: ext2
// ABSENT: extProp