FIR2IR: fix origin calculation for explicit inc/dec calls

This commit is contained in:
Mikhail Glukhikh
2023-07-10 11:51:32 +02:00
committed by Space Team
parent f8ca440e96
commit 39406710b2
12 changed files with 102 additions and 23 deletions
@@ -2294,6 +2294,12 @@ public class FirLightTreeJsIrTextTestGenerated extends AbstractFirLightTreeJsIrT
runTest("compiler/testData/ir/irText/firProblems/ErrorInDefaultValue.kt");
}
@Test
@TestMetadata("explicitIncrement.kt")
public void testExplicitIncrement() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/explicitIncrement.kt");
}
@Test
@TestMetadata("FakeOverrideInAnonymousWithDelegation.kt")
public void testFakeOverrideInAnonymousWithDelegation() throws Exception {
@@ -2294,6 +2294,12 @@ public class FirPsiJsIrTextTestGenerated extends AbstractFirPsiJsIrTextTest {
runTest("compiler/testData/ir/irText/firProblems/ErrorInDefaultValue.kt");
}
@Test
@TestMetadata("explicitIncrement.kt")
public void testExplicitIncrement() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/explicitIncrement.kt");
}
@Test
@TestMetadata("FakeOverrideInAnonymousWithDelegation.kt")
public void testFakeOverrideInAnonymousWithDelegation() throws Exception {
@@ -2294,6 +2294,12 @@ public class ClassicJsIrTextTestGenerated extends AbstractClassicJsIrTextTest {
runTest("compiler/testData/ir/irText/firProblems/ErrorInDefaultValue.kt");
}
@Test
@TestMetadata("explicitIncrement.kt")
public void testExplicitIncrement() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/explicitIncrement.kt");
}
@Test
@TestMetadata("FakeOverrideInAnonymousWithDelegation.kt")
public void testFakeOverrideInAnonymousWithDelegation() throws Exception {