[IR BE] Fix SharedVariableLowering

* make it able to detect shared vars under any declaration kind, not only IrFunction
 * Add & update tests
This commit is contained in:
Roman Artemev
2018-12-14 15:28:01 +03:00
committed by romanart
parent 04395366fa
commit 256317da15
8 changed files with 46 additions and 24 deletions
@@ -15995,6 +15995,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/objects/kt2663_2.kt");
}
@TestMetadata("kt2663_3.kt")
public void testKt2663_3() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt2663_3.kt");
}
@TestMetadata("kt2675.kt")
public void testKt2675() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt2675.kt");