[FIR2IR] Fix interpreting constants from const properties from other module
This commit is contained in:
committed by
TeamCityServer
parent
a7e6667648
commit
245bc7c8e2
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -4738,6 +4738,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/constants/comparisonTrue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constValFromAnotherModuleInConsVal.kt")
|
||||
public void testConstValFromAnotherModuleInConsVal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/constValFromAnotherModuleInConsVal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constantsInWhen.kt")
|
||||
public void testConstantsInWhen() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/constantsInWhen.kt");
|
||||
|
||||
Generated
+5
@@ -4195,6 +4195,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/constants/comparisonTrue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constValFromAnotherModuleInConsVal.kt")
|
||||
public void testConstValFromAnotherModuleInConsVal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/constValFromAnotherModuleInConsVal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constantsInWhen.kt")
|
||||
public void testConstantsInWhen() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/constantsInWhen.kt");
|
||||
|
||||
Generated
+5
@@ -4195,6 +4195,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/constants/comparisonTrue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constValFromAnotherModuleInConsVal.kt")
|
||||
public void testConstValFromAnotherModuleInConsVal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/constValFromAnotherModuleInConsVal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constantsInWhen.kt")
|
||||
public void testConstantsInWhen() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/constantsInWhen.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+5
@@ -3021,6 +3021,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/constants/comparisonFalse.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constValFromAnotherModuleInConsVal.kt")
|
||||
public void testConstValFromAnotherModuleInConsVal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/constValFromAnotherModuleInConsVal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constantsInWhen.kt")
|
||||
public void testConstantsInWhen() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/constantsInWhen.kt");
|
||||
|
||||
Reference in New Issue
Block a user