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

20 lines
366 B
Kotlin
Vendored

class C {
fun foo(s: String): Boolean = true
fun bar() {
listOf("a").filter(<caret>)
}
companion object {
fun staticFoo(s: String): Boolean = true
}
}
fun C.extensionFoo(s: String): Boolean = true
fun globalFoo(s: String): Boolean = true
// ABSENT: ::foo
// ABSENT: ::staticFoo
// ABSENT: ::extensionFoo
// EXIST: ::globalFoo