[FIR] Fix crash on assignment expression with incorrect lvalue with LT mode

^KT-65241 Fixed
This commit is contained in:
Ivan Kochurkin
2024-02-13 15:18:57 +01:00
committed by Space Team
parent c2e28149e6
commit 9a86b83a0c
9 changed files with 48 additions and 1 deletions
@@ -13184,6 +13184,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/exceptions/annotationWithWrongArgInDanglingModifierList.kt");
}
@Test
@TestMetadata("assignmentWithIncorrectLValue.kt")
public void testAssignmentWithIncorrectLValue() {
runTest("compiler/testData/diagnostics/tests/exceptions/assignmentWithIncorrectLValue.kt");
}
@Test
@TestMetadata("expectedSomeTypesOnBranchForWhenExpressionOfErroneousType.kt")
public void testExpectedSomeTypesOnBranchForWhenExpressionOfErroneousType() {
@@ -13184,6 +13184,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/exceptions/annotationWithWrongArgInDanglingModifierList.kt");
}
@Test
@TestMetadata("assignmentWithIncorrectLValue.kt")
public void testAssignmentWithIncorrectLValue() {
runTest("compiler/testData/diagnostics/tests/exceptions/assignmentWithIncorrectLValue.kt");
}
@Test
@TestMetadata("expectedSomeTypesOnBranchForWhenExpressionOfErroneousType.kt")
public void testExpectedSomeTypesOnBranchForWhenExpressionOfErroneousType() {