Fix for local closures

This commit is contained in:
Mikhael Bogdanov
2013-03-26 14:30:32 +04:00
parent 9091becbea
commit 932c1444a2
6 changed files with 67 additions and 1 deletions
@@ -951,6 +951,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/closures/kt2151.kt");
}
@TestMetadata("localFunctionInFunction.kt")
public void testLocalFunctionInFunction() throws Exception {
doTest("compiler/testData/codegen/box/closures/localFunctionInFunction.kt");
}
@TestMetadata("localFunctionInInitializer.kt")
public void testLocalFunctionInInitializer() throws Exception {
doTest("compiler/testData/codegen/box/closures/localFunctionInInitializer.kt");
}
@TestMetadata("recursiveClosure.kt")
public void testRecursiveClosure() throws Exception {
doTest("compiler/testData/codegen/box/closures/recursiveClosure.kt");