[K2] Disappeared OPT_IN_USAGE_ERROR for a data class property during the destructuring declaration

^KT-62450
This commit is contained in:
Anastasia.Nekrasova
2023-10-12 14:57:35 +03:00
committed by Space Team
parent dfdd86da1f
commit 9ad4cf4c55
10 changed files with 85 additions and 2 deletions
@@ -40512,6 +40512,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/deeplyNestedClass.kt");
}
@Test
@TestMetadata("diffrentModules.kt")
public void testDiffrentModules() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/diffrentModules.kt");
}
@Test
@TestMetadata("duration.kt")
public void testDuration() throws Exception {
@@ -40512,6 +40512,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/deeplyNestedClass.kt");
}
@Test
@TestMetadata("diffrentModules.kt")
public void testDiffrentModules() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/diffrentModules.kt");
}
@Test
@TestMetadata("duration.kt")
public void testDuration() throws Exception {