KT-52551 Create a static initialization section in case of delegation to a property reference from a file class

This commit is contained in:
Pavel Mikhailovskii
2022-05-27 19:41:59 +02:00
committed by teamcity
parent 0b9e5e14be
commit 2ceccec2b8
10 changed files with 64 additions and 1 deletions
@@ -11797,6 +11797,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
public void testWithSideEffects() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother/withSideEffects.kt");
}
@TestMetadata("withSideEffectsFromFileClass.kt")
public void testWithSideEffectsFromFileClass() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother/withSideEffectsFromFileClass.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/delegatedProperty/local")