KT-34500 Use correct loop parameter type in ForInArrayLoopGenerator

This commit is contained in:
Dmitry Petrov
2019-10-21 14:17:24 +03:00
parent bdc04547cc
commit 7dde503697
8 changed files with 137 additions and 2 deletions
@@ -5218,11 +5218,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInDelegatedPropertyUpdatedInLoopBody.kt");
}
@TestMetadata("forInDoubleArrayWithUpcast.kt")
public void testForInDoubleArrayWithUpcast() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInDoubleArrayWithUpcast.kt");
}
@TestMetadata("forInFieldUpdatedInLoopBody.kt")
public void testForInFieldUpdatedInLoopBody() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInFieldUpdatedInLoopBody.kt");
}
@TestMetadata("forInInlineClassArrayWithUpcast.kt")
public void testForInInlineClassArrayWithUpcast() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInInlineClassArrayWithUpcast.kt");
}
@TestMetadata("forIntArray.kt")
public void testForIntArray() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/forInArray/forIntArray.kt");