JS: fix coroutines

This commit is contained in:
Alexey Andreev 2019-04-02 17:12:53 +03:00
parent fe68bf700b
commit e6bb91bfb0

View File

@ -256,7 +256,7 @@ public class StatementRenderer implements ExprVisitor, StatementVisitor {
}
Statement statement = statements.get(0);
return !(statement instanceof ConditionalStatement);
return !(statement instanceof ConditionalStatement) && !(statement instanceof GotoPartStatement);
}
@Override