[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
Generated
+6
@@ -3843,6 +3843,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
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