KT-3491 Wrong (or not obvious) warning

#KT-3491 Fixed
This commit is contained in:
Nikolay Krasko
2013-04-09 14:30:22 +04:00
parent 7577177a06
commit ebd72df058
4 changed files with 34 additions and 6 deletions
@@ -3055,6 +3055,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/nullableTypes/safeCallOnTypeWithNullableUpperBound.kt");
}
@TestMetadata("uselessElvis.kt")
public void testUselessElvis() throws Exception {
doTest("compiler/testData/diagnostics/tests/nullableTypes/uselessElvis.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/tests/objects")