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