[IR] Not try Null constant in fold constant

^KT-46859 fixed
This commit is contained in:
Ilya Goncharov
2021-05-21 19:29:06 +03:00
committed by teamcityserver
parent b18d4af37b
commit c62a965180
10 changed files with 81 additions and 0 deletions
@@ -1444,6 +1444,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/boxingOptimization/kt19767_chain.kt");
}
@TestMetadata("kt46859.kt")
public void testKt46859() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/kt46859.kt");
}
@TestMetadata("kt5493.kt")
public void testKt5493() throws Exception {
runTest("compiler/testData/codegen/box/boxingOptimization/kt5493.kt");