mirror of
https://github.com/konsoletyper/teavm.git
synced 2025-01-06 10:15:18 +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()) {
|
||||
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()) {
|
||||
writer.append("c.").append(aliasEntry.getValue()).ws().append("=").ws().append("c.")
|
||||
.appendMethod(new MethodReference(entry.getKey(), aliasEntry.getKey()))
|
||||
|
Loading…
Reference in New Issue
Block a user