[JVM IR] Make upper bounds check recursive for ieee Equals.

Fixes KT-44402
This commit is contained in:
Mads Ager
2021-03-04 15:56:50 +01:00
committed by Alexander Udalov
parent 566f97ae3e
commit 965c118521
10 changed files with 53 additions and 2 deletions
@@ -821,6 +821,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/binaryOp/kt23030_properIeee754comparisons.kt");
}
@TestMetadata("kt44402.kt")
public void testKt44402() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/kt44402.kt");
}
@TestMetadata("kt6747_identityEquals.kt")
public void testKt6747_identityEquals() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/kt6747_identityEquals.kt");
@@ -821,6 +821,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/binaryOp/kt23030_properIeee754comparisons.kt");
}
@TestMetadata("kt44402.kt")
public void testKt44402() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/kt44402.kt");
}
@TestMetadata("kt6747_identityEquals.kt")
public void testKt6747_identityEquals() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/kt6747_identityEquals.kt");
@@ -821,6 +821,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/binaryOp/kt23030_properIeee754comparisons.kt");
}
@TestMetadata("kt44402.kt")
public void testKt44402() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/kt44402.kt");
}
@TestMetadata("kt6747_identityEquals.kt")
public void testKt6747_identityEquals() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/kt6747_identityEquals.kt");
@@ -711,6 +711,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/binaryOp/kt23030_properIeee754comparisons.kt");
}
@TestMetadata("kt44402.kt")
public void testKt44402() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/kt44402.kt");
}
@TestMetadata("kt6747_identityEquals.kt")
public void testKt6747_identityEquals() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/kt6747_identityEquals.kt");