Files
kotlin-fork/idea/idea-completion/testData/smart/NoExtensionMethodFromClassObject.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

14 lines
220 B
Kotlin
Vendored

class X {
companion object {
fun String.f(): X = X()
fun g(): X = X()
}
}
fun foo(): X {
return <caret>
}
// ABSENT: f
// EXIST: { lookupString:"g", itemText:"X.g", tailText:"() (<root>)" }