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

13 lines
209 B
Plaintext
Vendored

// "Remove useless is check" "true"
interface Base
interface Derived: Base
fun foo(bar: Base):Int {
return when {
bar is Derived -> 0
true -> 42
else -> 1
}
}
/* IGNORE_FIR */