[FIR2IR] Fix interpreting constants from const properties from other module

This commit is contained in:
Dmitriy Novozhilov
2021-03-01 15:28:24 +03:00
committed by TeamCityServer
parent a7e6667648
commit 245bc7c8e2
10 changed files with 73 additions and 2 deletions
@@ -5355,6 +5355,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
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");