Fix for KT-11762: "VerifyError: Bad local variable type" caused by explicit loop variable type

#KT-11762 Fixed
This commit is contained in:
Michael Bogdanov
2016-04-04 16:21:06 +03:00
parent f2237f675d
commit dec53c8d6c
4 changed files with 41 additions and 4 deletions
@@ -3517,6 +3517,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("forArrayList.kt")
public void testForArrayList() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/forArrayList.kt");
doTest(fileName);
}
@TestMetadata("forArrayListMultiDecl.kt")
public void testForArrayListMultiDecl() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/forArrayListMultiDecl.kt");
doTest(fileName);
}
@TestMetadata("forInSmartCastToArray.kt")
public void testForInSmartCastToArray() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/controlStructures/forInSmartCastToArray.kt");