[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
@@ -7026,6 +7026,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/constants/comparisonTrue.kt");
}
@Test
@TestMetadata("constValFromAnotherModuleInConsVal.kt")
public void testConstValFromAnotherModuleInConsVal() throws Exception {
runTest("compiler/testData/codegen/box/constants/constValFromAnotherModuleInConsVal.kt");
}
@Test
@TestMetadata("constantsInWhen.kt")
public void testConstantsInWhen() throws Exception {