09f9489619
From now on sealed declarations get resolved with the help of FirIdeSealedHierarchyProcessor. This change entails correct IDE side check for sealed when exhaustiveness.
19 lines
203 B
Kotlin
Vendored
19 lines
203 B
Kotlin
Vendored
// FIR_COMPARISON
|
|
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtClass
|
|
// OPTIONS: derivedInterfaces
|
|
interface X {
|
|
|
|
}
|
|
|
|
open class <caret>A: X {
|
|
|
|
}
|
|
|
|
open class C: Y {
|
|
|
|
}
|
|
|
|
interface Z: A {
|
|
|
|
}
|
|
// DISABLE-ERRORS |