mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
This commit is contained in:
parent
61368d0c10
commit
6017bd6586
|
@ -152,7 +152,7 @@ public class PlatformGenerator implements Generator, Injector, DependencyPlugin
|
||||||
} else {
|
} else {
|
||||||
writer.append("return cls[c]($return);").softNewLine();
|
writer.append("return cls[c]($return);").softNewLine();
|
||||||
}
|
}
|
||||||
writer.outdent().append("}").softNewLine();
|
writer.outdent().append("};").softNewLine();
|
||||||
|
|
||||||
writer.append("return ").append(selfName).append("(").append(context.getParameterName(1));
|
writer.append("return ").append(selfName).append("(").append(context.getParameterName(1));
|
||||||
if (context.isAsync()) {
|
if (context.isAsync()) {
|
||||||
|
@ -225,7 +225,7 @@ public class PlatformGenerator implements Generator, Injector, DependencyPlugin
|
||||||
writer.append("return null;").softNewLine();
|
writer.append("return null;").softNewLine();
|
||||||
writer.outdent().append("}").softNewLine();
|
writer.outdent().append("}").softNewLine();
|
||||||
writer.append("return cls[c]();").softNewLine();
|
writer.append("return cls[c]();").softNewLine();
|
||||||
writer.outdent().append("}").softNewLine();
|
writer.outdent().append("};").softNewLine();
|
||||||
|
|
||||||
writer.append("return ").append(selfName).append("(").append(context.getParameterName(1))
|
writer.append("return ").append(selfName).append("(").append(context.getParameterName(1))
|
||||||
.append(");").softNewLine();
|
.append(");").softNewLine();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user