JS backend: fixed crash when use lambda or local function inside enum method.

This commit is contained in:
Zalim Bashorov
2014-09-24 00:31:53 +04:00
parent 878ebb9575
commit ef60a7f776
3 changed files with 54 additions and 24 deletions
@@ -150,4 +150,8 @@ public class FunctionTest extends AbstractExpressionTest {
public void testInfixCall() throws Exception {
checkFooBoxIsOk();
}
public void testLambdaOrLocalFunInsideEnumMethod() throws Exception {
checkFooBoxIsOk();
}
}