mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -08:00
Fix bug in JSBody support
This commit is contained in:
parent
5f3efd3f84
commit
cd699bffcb
|
@ -76,7 +76,7 @@ public class JSBodyGenerator implements Generator {
|
||||||
.softNewLine();
|
.softNewLine();
|
||||||
writer.outdent().append("}").softNewLine();
|
writer.outdent().append("}").softNewLine();
|
||||||
|
|
||||||
writer.appendMethodBody(methodRef).append('(');
|
writer.append("return ").appendMethodBody(methodRef).append('(');
|
||||||
for (int i = 0; i < count; ++i) {
|
for (int i = 0; i < count; ++i) {
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
writer.append(',').ws();
|
writer.append(',').ws();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user