[FIR] Fix CAST_NEVER_SUCCEEDS for definitely not null types
This commit is contained in:
committed by
Space Team
parent
0efcad51e9
commit
df43226a08
+6
@@ -5767,6 +5767,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/cast/neverSucceeds/CastToNotNullSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DefinitelyNotNullTypes.kt")
|
||||
public void testDefinitelyNotNullTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/neverSucceeds/DefinitelyNotNullTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MappedDirect.kt")
|
||||
public void testMappedDirect() throws Exception {
|
||||
|
||||
+6
@@ -5767,6 +5767,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/cast/neverSucceeds/CastToNotNullSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DefinitelyNotNullTypes.kt")
|
||||
public void testDefinitelyNotNullTypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/neverSucceeds/DefinitelyNotNullTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MappedDirect.kt")
|
||||
public void testMappedDirect() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user