KT-13160: when decomposing assignment with lhs like array[index], extract array instead of supporting only qualifier.name`

This commit is contained in:
Alexey Andreev
2016-07-20 17:47:01 +03:00
parent 4f7d8e34b0
commit efb5a9eca6
3 changed files with 34 additions and 4 deletions
@@ -77,6 +77,12 @@ public class InlineEvaluationOrderTestGenerated extends AbstractInlineEvaluation
doTest(fileName);
}
@TestMetadata("arrayAccessLhsDecomposed.kt")
public void testArrayAccessLhsDecomposed() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/inlineEvaluationOrder/cases/arrayAccessLhsDecomposed.kt");
doTest(fileName);
}
@TestMetadata("arrayLiteral.kt")
public void testArrayLiteral() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/inlineEvaluationOrder/cases/arrayLiteral.kt");