Files
kotlin-fork/idea/idea-completion/testData/smartMultiFile/CallableReferenceNotImported/CallableReferenceNotImported.kt
T
2015-10-03 10:40:51 +03:00

14 lines
217 B
Kotlin
Vendored

fun String.foo() {
bar(::<caret>)
}
fun bar(p: () -> Unit) { }
fun bar(p: String.() -> Unit) { }
// INVOCATION_COUNT: 2
// EXIST: extFun
// EXIST: topLevelFun
// ABSENT: wrongExtFun
// ABSENT: wrongTopLevelFun