Prohibit using definitely-non-nullable types as arguments for reified parameters

^KT-26245 In Progress
This commit is contained in:
Denis.Zharkov
2021-08-11 11:26:13 +03:00
committed by teamcityserver
parent 62bef48f9d
commit 0e7d51b04d
9 changed files with 47 additions and 1 deletions
@@ -10115,6 +10115,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.kt");
}
@Test
@TestMetadata("reifiedArguments.kt")
public void testReifiedArguments() throws Exception {
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/reifiedArguments.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -10115,6 +10115,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.kt");
}
@Test
@TestMetadata("reifiedArguments.kt")
public void testReifiedArguments() throws Exception {
runTest("compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/reifiedArguments.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {