bd38363077
To explicitly specify which test are failing
13 lines
222 B
Kotlin
Vendored
13 lines
222 B
Kotlin
Vendored
// "Remove useless is check" "true"
|
|
interface Base
|
|
interface Derived: Base
|
|
|
|
fun foo(bar: Base):Int {
|
|
return when (bar) {
|
|
is Derived -> 0
|
|
<caret>!is Base -> 42
|
|
else -> 1
|
|
}
|
|
}
|
|
|
|
/* IGNORE_FIR */ |