K1: report errors related to SubClassOptInRequired annotation

Related to KT-41886
This commit is contained in:
Mikhail Glukhikh
2022-07-12 14:55:35 +02:00
committed by teamcity
parent 84291181af
commit c67c5cad27
11 changed files with 261 additions and 36 deletions
@@ -37548,6 +37548,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/overrideInAnonymousObject.kt");
}
@Test
@TestMetadata("subClassOptInRequired.kt")
public void testSubClassOptInRequired() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/subClassOptInRequired.kt");
}
@Test
@TestMetadata("topLevel.kt")
public void testTopLevel() throws Exception {