Simplify for: take into account two or more possible local variables for the same loop parameter property

This commit is contained in:
Mikhail Glukhikh
2016-05-18 19:45:28 +03:00
parent 9108ab1923
commit f81192d48f
3 changed files with 27 additions and 8 deletions
@@ -6579,6 +6579,12 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
doTest(fileName);
}
@TestMetadata("DataClassTwoDifferentLocals.kt")
public void testDataClassTwoDifferentLocals() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt");
doTest(fileName);
}
@TestMetadata("DataClassUnused.kt")
public void testDataClassUnused() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/iterationOverMap/DataClassUnused.kt");