mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -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);
|
Statement statement = statements.get(0);
|
||||||
return !(statement instanceof ConditionalStatement);
|
return !(statement instanceof ConditionalStatement) && !(statement instanceof GotoPartStatement);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user