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