mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-06 15: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();
|
writer.append(",").ws();
|
||||||
wrapParameter(writer, context.getParameterName(i + 1));
|
wrapParameter(writer, context.getParameterName(i + 1));
|
||||||
}
|
}
|
||||||
writer.append(")").softNewLine();
|
writer.append(");").softNewLine();
|
||||||
writer.append("return ");
|
writer.append("return ");
|
||||||
unwrapValue(writer, method.getResultType(), "result");
|
unwrapValue(writer, method.getResultType(), "result");
|
||||||
writer.append(";").softNewLine();
|
writer.append(";").softNewLine();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user