mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -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();
|
||||
writer.outdent().append("}").softNewLine();
|
||||
|
||||
writer.appendMethodBody(methodRef).append('(');
|
||||
writer.append("return ").appendMethodBody(methodRef).append('(');
|
||||
for (int i = 0; i < count; ++i) {
|
||||
if (i > 0) {
|
||||
writer.append(',').ws();
|
||||
|
|
Loading…
Reference in New Issue
Block a user