Don't report EXPERIMENTAL_OVERRIDE_ERROR on annotated local functions

#KT-31728 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-05-19 16:14:52 +03:00
committed by teamcityserver
parent cb232725f0
commit 7393465696
7 changed files with 65 additions and 2 deletions
@@ -34339,6 +34339,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/overrideDifferentExperimentalities.kt");
}
@Test
@TestMetadata("overrideInAnonymousObject.kt")
public void testOverrideInAnonymousObject() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/overrideInAnonymousObject.kt");
}
@Test
@TestMetadata("topLevel.kt")
public void testTopLevel() throws Exception {
@@ -34339,6 +34339,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/overrideDifferentExperimentalities.kt");
}
@Test
@TestMetadata("overrideInAnonymousObject.kt")
public void testOverrideInAnonymousObject() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/overrideInAnonymousObject.kt");
}
@Test
@TestMetadata("topLevel.kt")
public void testTopLevel() throws Exception {