[NI] Fix substitution of NotNullTypeParameter

This commit is contained in:
Mikhail Zarechenskiy
2018-01-19 14:53:49 +03:00
parent 4cd07f59a0
commit 2a0bb68e1c
7 changed files with 57 additions and 30 deletions
@@ -14822,6 +14822,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("notnullTypesFromJavaWithSmartcast.kt")
public void testNotnullTypesFromJavaWithSmartcast() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts/notnullTypesFromJavaWithSmartcast.kt");
doTest(fileName);
}
@TestMetadata("NullableNothingIsExactlyNull.kt")
public void testNullableNothingIsExactlyNull() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts/NullableNothingIsExactlyNull.kt");
@@ -14822,6 +14822,12 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
doTest(fileName);
}
@TestMetadata("notnullTypesFromJavaWithSmartcast.kt")
public void testNotnullTypesFromJavaWithSmartcast() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts/notnullTypesFromJavaWithSmartcast.kt");
doTest(fileName);
}
@TestMetadata("NullableNothingIsExactlyNull.kt")
public void testNullableNothingIsExactlyNull() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/nullabilityAndSmartCasts/NullableNothingIsExactlyNull.kt");