JS: deparenthesize LHS of assignment before choosing appropriate AccessTranslator. Fix KT-15169

This commit is contained in:
Alexey Andreev
2016-12-12 15:00:00 +03:00
parent 52347aa901
commit d9cf15a665
10 changed files with 52 additions and 36 deletions
@@ -10487,6 +10487,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("annotatedAssignment.kt")
public void testAnnotatedAssignment() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/operatorConventions/annotatedAssignment.kt");
doTest(fileName);
}
@TestMetadata("assignmentOperations.kt")
public void testAssignmentOperations() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/operatorConventions/assignmentOperations.kt");