09f9489619
From now on sealed declarations get resolved with the help of FirIdeSealedHierarchyProcessor. This change entails correct IDE side check for sealed when exhaustiveness.
15 lines
214 B
Java
Vendored
15 lines
214 B
Java
Vendored
// FIR_COMPARISON
|
|
// PSI_ELEMENT: com.intellij.psi.PsiMethod
|
|
// OPTIONS: overrides
|
|
public class A {
|
|
public void <caret>foo() {
|
|
|
|
}
|
|
}
|
|
|
|
public class B extends A {
|
|
@Override
|
|
public void foo() {
|
|
|
|
}
|
|
} |