Don't recognize IrVariable as declaration scope in inlining

#KT-42815 Fixed
This commit is contained in:
Mikhael Bogdanov
2020-12-07 10:00:11 +01:00
committed by max-kammerer
parent 7f51f57998
commit c5015c9294
13 changed files with 154 additions and 5 deletions
@@ -246,6 +246,16 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt38197.kt");
}
@TestMetadata("kt42815.kt")
public void testKt42815() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815.kt");
}
@TestMetadata("kt42815_delegated.kt")
public void testKt42815_delegated() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt");
}
@TestMetadata("kt6552.kt")
public void testKt6552() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt");