[IR BE] Fix array constructor loop. Use index parameter as immutable value

This commit is contained in:
Roman Artemev
2019-05-17 12:43:47 +03:00
committed by romanart
parent dfa38f4a4d
commit 72f7287ad2
8 changed files with 65 additions and 3 deletions
@@ -310,6 +310,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/arrays"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("arrayConstructorWithNonInlineLambda.kt")
public void testArrayConstructorWithNonInlineLambda() throws Exception {
runTest("compiler/testData/codegen/box/arrays/arrayConstructorWithNonInlineLambda.kt");
}
@TestMetadata("arrayConstructorsSimple.kt")
public void testArrayConstructorsSimple() throws Exception {
runTest("compiler/testData/codegen/box/arrays/arrayConstructorsSimple.kt");