Files
kotlin-fork/idea/testData/quickfix/replaceWithSafeCall/comment.fir.kt.after
T
Mark Punzalan 9e01a608b2 FIR IDE: Add ability in test infra to have a "before" file different in
FIR vs FE1.0, and made file naming convention more consistent.
2021-05-20 20:32:57 +02:00

8 lines
154 B
Plaintext
Vendored

// "Replace with safe (?.) call" "true"
// WITH_RUNTIME
fun foo(a: String?) {
val b = a // comment1
// comment2
?.length ?: <caret>
}