JS backend: fixed the variable capturing in deeply nested functions.

(cherry picked from commit cee29a6)
This commit is contained in:
develar
2012-09-06 18:30:58 +04:00
committed by Zalim Bashorov
parent 84542872b8
commit 4a37d56a1b
12 changed files with 253 additions and 299 deletions
@@ -35,4 +35,8 @@ public final class ClosureTest extends SingleFileTranslationTest {
public void testClosureReferencingMember() throws Exception {
fooBoxTest();
}
public void testLocalParameterInLocalNamedFunction() throws Exception {
fooBoxTest();
}
}