Files
kotlin-fork/idea/testData/quickfix/replaceWithSafeCall/hasElvis.kt.after
T
Ilya Kirillov bd38363077 FIR IDE: use IGNORE_FIR instead of FIR_COMPARISON in hl quick fix tests
To explicitly specify which test are failing
2021-04-01 18:24:17 +02:00

11 lines
141 B
Plaintext
Vendored

// "Replace with safe (?.) call" "true"
// WITH_RUNTIME
fun main() {
var a = foo()?.length ?: 0
}
fun foo(): String? {
return ""
}