mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix error in JSO alias generator
This commit is contained in:
parent
90f1f19f08
commit
727c02381a
|
@ -63,7 +63,7 @@ class JSOAliasRenderer implements RendererListener {
|
||||||
if (entry.getValue().methods.isEmpty()) {
|
if (entry.getValue().methods.isEmpty()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
writer.append("c").ws().append("=").ws().appendClass(entry.getKey()).append(".prototype").softNewLine();
|
writer.append("c").ws().append("=").ws().appendClass(entry.getKey()).append(".prototype;").softNewLine();
|
||||||
for (Map.Entry<MethodDescriptor, String> aliasEntry : entry.getValue().methods.entrySet()) {
|
for (Map.Entry<MethodDescriptor, String> aliasEntry : entry.getValue().methods.entrySet()) {
|
||||||
writer.append("c.").append(aliasEntry.getValue()).ws().append("=").ws().append("c.")
|
writer.append("c.").append(aliasEntry.getValue()).ws().append("=").ws().append("c.")
|
||||||
.appendMethod(new MethodReference(entry.getKey(), aliasEntry.getKey()))
|
.appendMethod(new MethodReference(entry.getKey(), aliasEntry.getKey()))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user