[FIR] Accept opt-in annotations on primary ctor params of properties

For backward compatibility with K1.

KT-56177
This commit is contained in:
Kirill Rakhman
2023-02-27 17:09:25 +01:00
committed by Space Team
parent cfc5bb74ef
commit fbc0796ed2
7 changed files with 61 additions and 4 deletions
@@ -38886,6 +38886,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/overrideInAnonymousObject.kt");
}
@Test
@TestMetadata("overrideInPrimaryConstructor.kt")
public void testOverrideInPrimaryConstructor() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/overrideInPrimaryConstructor.kt");
}
@Test
@TestMetadata("subClassOptInModality.kt")
public void testSubClassOptInModality() throws Exception {