[FE 1.0] Properly handle intersection types in check if cast possible or not
^KT-47685 Fixed
This commit is contained in:
committed by
teamcityserver
parent
f0c4d06fc9
commit
47b0071560
+6
@@ -3837,6 +3837,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/cast/kt15161.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47685.kt")
|
||||
public void testKt47685() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/kt47685.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt614.kt")
|
||||
public void testKt614() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user