Files
kotlin-fork/idea/testData/completion/smart/FunctionReference10.kt
T
Valentin Kipyatkov e6dbfac232 Fixed smart completion of functions with "::"
#KT-6073 Fixed
2014-10-22 15:42:36 +04:00

20 lines
362 B
Kotlin

class C {
fun foo(s: String): Boolean = true
fun bar() {
listOf("a").filter(<caret>)
}
class 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