Quick fix "add !!" for SMARTCAST_IMPOSSIBLE in certain situations

This commit is contained in:
Mikhail Glukhikh
2016-06-01 17:28:17 +03:00
parent 7eafae1936
commit 33b6780ce2
5 changed files with 62 additions and 0 deletions
@@ -7662,6 +7662,12 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
doTest(fileName);
}
@TestMetadata("addExclExclWhenSmartCastImpossible.kt")
public void testAddExclExclWhenSmartCastImpossible() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/quickfix/typeMismatch/addExclExclWhenSmartCastImpossible.kt");
doTest(fileName);
}
@TestMetadata("addIntArrayOf.kt")
public void testAddIntArrayOf() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/quickfix/typeMismatch/addIntArrayOf.kt");