[FIR] Fix missing USELESS_CAST
`FirUselessTypeOperationCallChecker` always checks exact types matching for `as` operator Simplify code of cast checker and utils ^KT-56629 Fixed ^KT-56615 Fixed ^KT-59820 Fixed
This commit is contained in:
committed by
Space Team
parent
2f8026f335
commit
d50c6f1b6d
+6
@@ -5556,6 +5556,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/cast/kt47685.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56629.kt")
|
||||
public void testKt56629() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/kt56629.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt614.kt")
|
||||
public void testKt614() throws Exception {
|
||||
|
||||
+6
@@ -5556,6 +5556,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/cast/kt47685.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56629.kt")
|
||||
public void testKt56629() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/cast/kt56629.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt614.kt")
|
||||
public void testKt614() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user