[IR] Extend test coverage for smart cast handling.

This commit is contained in:
Mads Ager
2021-01-07 13:56:02 +01:00
committed by Dmitry Petrov
parent 6fc0de39c2
commit dfc86feecd
28 changed files with 732 additions and 18 deletions
@@ -13125,6 +13125,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/ieee754/smartCastToDoubleAndComparableToDouble.kt");
}
@TestMetadata("smartCastToInt.kt")
public void testSmartCastToInt() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/smartCastToInt.kt");
}
@TestMetadata("when.kt")
public void testWhen() throws Exception {
runTest("compiler/testData/codegen/box/ieee754/when.kt");
@@ -28781,6 +28786,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt");
}
@TestMetadata("multipleSmartCast.kt")
public void testMultipleSmartCast() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/multipleSmartCast.kt");
}
@TestMetadata("nullSmartCast.kt")
public void testNullSmartCast() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/nullSmartCast.kt");