[FIR] Prohibit statement-like expressions in expression context
^KT-61067 Fixed
This commit is contained in:
+6
@@ -93,6 +93,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/AssignToArrayElement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assigningAssignments.kt")
|
||||
public void testAssigningAssignments() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/assigningAssignments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AutoCreatedIt.kt")
|
||||
public void testAutoCreatedIt() throws Exception {
|
||||
|
||||
+6
@@ -93,6 +93,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/AssignToArrayElement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assigningAssignments.kt")
|
||||
public void testAssigningAssignments() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/assigningAssignments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AutoCreatedIt.kt")
|
||||
public void testAutoCreatedIt() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user