mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-04 14:14:11 -08:00
Fixes incorrect generation of JavaScriptBody in minified mode
This commit is contained in:
parent
03bc2e2e07
commit
753bb4b23e
|
@ -57,7 +57,7 @@ public class JavaScriptBodyGenerator implements Generator {
|
|||
writer.append(",").ws();
|
||||
wrapParameter(writer, context.getParameterName(i + 1));
|
||||
}
|
||||
writer.append(")").softNewLine();
|
||||
writer.append(");").softNewLine();
|
||||
writer.append("return ");
|
||||
unwrapValue(writer, method.getResultType(), "result");
|
||||
writer.append(";").softNewLine();
|
||||
|
|
Loading…
Reference in New Issue
Block a user