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

11 lines
158 B
Kotlin
Vendored

fun foo(s: String){}
fun foo(c: Char){}
fun bar(b: Boolean, s: String, c: Char){
foo(if (b) "abc" else <caret>)
}
// EXIST: s
// ABSENT: c
// ABSENT: b