Fix bug in JSBody support

This commit is contained in:
konsoletyper 2015-01-26 22:43:59 +04:00
parent 5f3efd3f84
commit cd699bffcb

View File

@ -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();