[js] Fix constant folding for unsigned aithmetic in IR

this resolves KT-44138
This commit is contained in:
Shagen Ogandzhanian
2021-03-30 16:53:12 +02:00
parent 36bc71121a
commit e0e2715864
13 changed files with 677 additions and 213 deletions
@@ -7142,6 +7142,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/constants/float.kt");
}
@Test
@TestMetadata("foldingBinaryOpsUnsigned.kt")
public void testFoldingBinaryOpsUnsigned() throws Exception {
runTest("compiler/testData/codegen/box/constants/foldingBinaryOpsUnsigned.kt");
}
@Test
@TestMetadata("kt9532.kt")
public void testKt9532() throws Exception {
@@ -40360,12 +40366,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/unsignedTypes/kt25784.kt");
}
@Test
@TestMetadata("kt30402.kt")
public void testKt30402() throws Exception {
runTest("compiler/testData/codegen/box/unsignedTypes/kt30402.kt");
}
@Test
@TestMetadata("kt43286.kt")
public void testKt43286() throws Exception {