[FE] Prohibit sealed fun interfaces

#KT-44947 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-02-16 12:50:51 +03:00
parent cdf7de5524
commit 5ce36a528e
6 changed files with 84 additions and 2 deletions
@@ -24496,6 +24496,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/sealed/interfaces/inheritorInDifferentModule.kt");
}
@Test
@TestMetadata("sealedFunInterface.kt")
public void testSealedFunInterface() throws Exception {
runTest("compiler/testData/diagnostics/tests/sealed/interfaces/sealedFunInterface.kt");
}
@Test
@TestMetadata("sealedInterfacesDisabled.kt")
public void testSealedInterfacesDisabled() throws Exception {