Postpone call arguments generation in compound assignment expressions

Otherwise RHS is generated twice, causing ISE in symbol binding
This commit is contained in:
Dmitry Petrov
2017-05-04 12:29:38 +03:00
parent 6b956b3746
commit c2601c947f
5 changed files with 99 additions and 5 deletions
@@ -737,6 +737,12 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
doTest(fileName);
}
@TestMetadata("lambdaInCAO.kt")
public void testLambdaInCAO() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/expressions/lambdaInCAO.kt");
doTest(fileName);
}
@TestMetadata("literals.kt")
public void testLiterals() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/expressions/literals.kt");