[LL FIR] improve contract violation checks
Add check into LLFirModuleLazyDeclarationResolver to die fast and avoid StackOverflowError for jumping phases ^KT-56551 ^KT-57802 ^KT-57811
This commit is contained in:
committed by
Space Team
parent
0fb3c033e7
commit
96c45c74e8
+6
@@ -22601,6 +22601,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kCallable_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinJavaCycle.kt")
|
||||
public void testKotlinJavaCycle() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kotlinJavaCycle.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12248.kt")
|
||||
public void testKt12248() throws Exception {
|
||||
|
||||
+6
@@ -22607,6 +22607,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kCallable_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinJavaCycle.kt")
|
||||
public void testKotlinJavaCycle() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kotlinJavaCycle.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12248.kt")
|
||||
public void testKt12248() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user