Refine smart cast check for type parameters

This commit is contained in:
Denis Zharkov
2015-08-25 14:42:06 +03:00
parent aad977d204
commit b471767e03
5 changed files with 78 additions and 2 deletions
@@ -6167,6 +6167,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("smartCastsValueArgument.kt")
public void testSmartCastsValueArgument() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/generics/nullability/smartCastsValueArgument.kt");
doTest(fileName);
}
@TestMetadata("tpBoundsViolation.kt")
public void testTpBoundsViolation() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/generics/nullability/tpBoundsViolation.kt");