Prohibit using definitely-non-nullable types as arguments for reified parameters
^KT-26245 In Progress
This commit is contained in:
committed by
teamcityserver
parent
62bef48f9d
commit
0e7d51b04d
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user