JVM_IR KT-42758 don't use 'this' for object self-reference by name

This commit is contained in:
Dmitry Petrov
2020-11-19 12:51:03 +03:00
parent 118a7d4e34
commit e17158d961
11 changed files with 203 additions and 7 deletions
@@ -20883,6 +20883,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/objects/kt4086.kt");
}
@TestMetadata("kt42758.kt")
public void testKt42758() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt42758.kt");
}
@TestMetadata("kt535.kt")
public void testKt535() throws Exception {
runTest("compiler/testData/codegen/box/objects/kt535.kt");