Fix capturing of outer type parameters for classes declared inside init block

This commit is contained in:
Pavel Kirpichenkov
2019-10-07 17:43:34 +03:00
parent 5e1efead9a
commit 42740c8b97
7 changed files with 46 additions and 1 deletions
@@ -23103,6 +23103,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/regressions/kt2318.kt");
}
@TestMetadata("kt24913.kt")
public void testKt24913() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt24913.kt");
}
@TestMetadata("Kt2495Test.kt")
public void testKt2495Test() throws Exception {
runTest("compiler/testData/codegen/box/regressions/Kt2495Test.kt");