[JVM_IR] Recursively perform constant lowering.
Otherwise constants in child expressions are not transformed. ^KT-47716 Fixed.
This commit is contained in:
committed by
Alexander Udalov
parent
2877f1cabe
commit
6436a1686d
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -28460,6 +28460,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/kt43286a.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47716.kt")
|
||||
public void testKt47716() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/kt47716.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("literalEqualsNullableUnsigned.kt")
|
||||
public void testLiteralEqualsNullableUnsigned() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt");
|
||||
|
||||
Generated
+5
@@ -27866,6 +27866,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/kt43286a.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47716.kt")
|
||||
public void testKt47716() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/kt47716.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("literalEqualsNullableUnsigned.kt")
|
||||
public void testLiteralEqualsNullableUnsigned() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt");
|
||||
|
||||
Generated
+5
@@ -27826,6 +27826,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/kt43286a.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47716.kt")
|
||||
public void testKt47716() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/kt47716.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("literalEqualsNullableUnsigned.kt")
|
||||
public void testLiteralEqualsNullableUnsigned() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+5
@@ -15849,6 +15849,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/kt43286a.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47716.kt")
|
||||
public void testKt47716() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/kt47716.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("literalEqualsNullableUnsigned.kt")
|
||||
public void testLiteralEqualsNullableUnsigned() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt");
|
||||
|
||||
Reference in New Issue
Block a user