mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
JS: fix coroutines
This commit is contained in:
parent
fe68bf700b
commit
e6bb91bfb0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user