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

fun String.foo(c: Char){}
class C {
fun foo(i: Int){}
fun bar(foo: String.(String) -> Unit, p1: String, p2: Int, p3: Char) {
"".foo(<caret>)
}
}
// EXIST: p1
// ABSENT: p2
// EXIST: p3