[FE] Use indexed loop to prevent CME in incorporation

#KT-60225 Fixed
This commit is contained in:
Kirill Rakhman
2023-12-14 12:59:54 +01:00
committed by Space Team
parent 3e41faf91f
commit 3bfcf3090c
8 changed files with 61 additions and 3 deletions
@@ -16920,6 +16920,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/inference/receiverTypeMismatch_withoutProper.kt");
}
@Test
@TestMetadata("recursiveGenericExtensionReceiver.kt")
public void testRecursiveGenericExtensionReceiver() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/recursiveGenericExtensionReceiver.kt");
}
@Test
@TestMetadata("reportAboutUnresolvedReferenceAsUnresolved.kt")
public void testReportAboutUnresolvedReferenceAsUnresolved() throws Exception {
@@ -16920,6 +16920,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/inference/receiverTypeMismatch_withoutProper.kt");
}
@Test
@TestMetadata("recursiveGenericExtensionReceiver.kt")
public void testRecursiveGenericExtensionReceiver() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/recursiveGenericExtensionReceiver.kt");
}
@Test
@TestMetadata("reportAboutUnresolvedReferenceAsUnresolved.kt")
public void testReportAboutUnresolvedReferenceAsUnresolved() throws Exception {