Don't report EXPERIMENTAL_ANNOTATION_ON_WRONG_TARGET for forbidden targets

#KT-47589 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-07-07 15:33:44 +03:00
committed by teamcityserver
parent ac7538a269
commit d9531f0c61
7 changed files with 54 additions and 3 deletions
@@ -34513,6 +34513,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/errors.kt");
}
@Test
@TestMetadata("experimentalAnnotationOnConstructorProperty.kt")
public void testExperimentalAnnotationOnConstructorProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/experimentalAnnotationOnConstructorProperty.kt");
}
@Test
@TestMetadata("experimentalIsNotEnabled.kt")
public void testExperimentalIsNotEnabled() throws Exception {