JS backend: added tests check the closure fields when use it from nested functions in method.

This commit is contained in:
Zalim Bashorov
2013-08-08 21:28:41 +04:00
parent b9396ff7e8
commit df11dbe7a5
2 changed files with 102 additions and 0 deletions
@@ -43,4 +43,8 @@ public final class ClosureTest extends SingleFileTranslationTest {
public void testClosureInNestedFunctionsWhichMixedWithObject() throws Exception {
fooBoxTest();
}
public void testClosureInNestedFunctionsInMethod() throws Exception {
checkFooBoxIsOk();
}
}