JS backend: add simple test connected with frontend bug 'isStatement' for function body == 'hasBlockBody'
This commit is contained in:
@@ -30,6 +30,10 @@ public class FunctionTest extends AbstractExpressionTest {
|
||||
fooBoxTest();
|
||||
}
|
||||
|
||||
public void testWhenFunction() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testFunctionLiteral() throws Exception {
|
||||
fooBoxTest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user