[FIR] Fix crash on incorrect call on ILT

^KT-62306 Fixed
This commit is contained in:
Ivan Kochurkin
2023-11-07 17:43:21 +01:00
committed by Space Team
parent c5da2b7433
commit 54ab3d39db
7 changed files with 37 additions and 1 deletions
@@ -12300,6 +12300,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/exceptions/expectedSomeTypesOnBranchForWhenExpressionOfErroneousType.kt");
}
@Test
@TestMetadata("incorrectCallOnILT.kt")
public void testIncorrectCallOnILT() throws Exception {
runTest("compiler/testData/diagnostics/tests/exceptions/incorrectCallOnILT.kt");
}
@Test
@TestMetadata("kt24158.kt")
public void testKt24158() throws Exception {
@@ -12300,6 +12300,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/exceptions/expectedSomeTypesOnBranchForWhenExpressionOfErroneousType.kt");
}
@Test
@TestMetadata("incorrectCallOnILT.kt")
public void testIncorrectCallOnILT() throws Exception {
runTest("compiler/testData/diagnostics/tests/exceptions/incorrectCallOnILT.kt");
}
@Test
@TestMetadata("kt24158.kt")
public void testKt24158() throws Exception {