KT-4119: Back-end (JVM) Internal error on code with local extensions

#KT-4119 Fixed
This commit is contained in:
Mikhael Bogdanov
2013-10-24 16:32:56 +04:00
parent 88a43fac5f
commit 604be8e0c1
4 changed files with 48 additions and 0 deletions
@@ -2506,6 +2506,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/functions/localFunctions/kt3978.kt");
}
@TestMetadata("kt4119.kt")
public void testKt4119() throws Exception {
doTest("compiler/testData/codegen/box/functions/localFunctions/kt4119.kt");
}
@TestMetadata("kt4119_2.kt")
public void testKt4119_2() throws Exception {
doTest("compiler/testData/codegen/box/functions/localFunctions/kt4119_2.kt");
}
@TestMetadata("localFunctionInConstructor.kt")
public void testLocalFunctionInConstructor() throws Exception {
doTest("compiler/testData/codegen/box/functions/localFunctions/localFunctionInConstructor.kt");