Files
kotlin-fork/idea/testData/completion/handlers/smart/InElvisOperator.kt
T
Valentin Kipyatkov 45f518a907 Smart completion after ?: works incorrectly
#KT-4926 Fixed
2014-05-07 22:50:22 +04:00

8 lines
106 B
Kotlin

fun foo(s: String, c: Char){}
fun bar(p1: String?, p2: String) {
foo(p1 ?: <caret>
}
// ELEMENT: p2