KT-53465, KT-53677 Get rid of unnecessary checkcasts to array of reified type
This commit is contained in:
committed by
teamcity
parent
d8522a8967
commit
a75d5ba4cf
+15
@@ -3946,6 +3946,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("arrayDowncastingContravariant.kt")
|
||||
public void testArrayDowncastingContravariant() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/arrayDowncastingContravariant.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arrayDowncatingInvariant.kt")
|
||||
public void testArrayDowncatingInvariant() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/arrayDowncatingInvariant.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arrayDownctingCovariant.kt")
|
||||
public void testArrayDownctingCovariant() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/arrayDownctingCovariant.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("as.kt")
|
||||
public void testAs() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/as.kt");
|
||||
|
||||
Reference in New Issue
Block a user