Files
kotlin-fork/idea/testData/quickfix/expressions/removeUselessCastUnderSmartCast.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

9 lines
141 B
Plaintext
Vendored

// "Remove useless cast" "true"
fun test(x: Any): String? {
if (x is String) {
return x
}
return null
}
/* IGNORE_FIR */