IR KT-50039 don't initialize outer 'this' in delegating constructor

This commit is contained in:
Dmitry Petrov
2021-12-03 12:06:42 +03:00
committed by teamcity
parent 0f745032af
commit 7206c06d26
11 changed files with 82 additions and 2 deletions
@@ -18360,6 +18360,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsInnerOfLocalWithCapture.kt");
}
@TestMetadata("objectExtendsInnerWithDelegatingConstructor.kt")
public void testObjectExtendsInnerWithDelegatingConstructor() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsInnerWithDelegatingConstructor.kt");
}
@TestMetadata("objectExtendsLocalCaptureInSuperCall.kt")
public void testObjectExtendsLocalCaptureInSuperCall() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsLocalCaptureInSuperCall.kt");