diff --git a/teavm-jso/src/main/java/org/teavm/jso/plugin/JSOAliasRenderer.java b/teavm-jso/src/main/java/org/teavm/jso/plugin/JSOAliasRenderer.java index fccfbb178..432f042bf 100644 --- a/teavm-jso/src/main/java/org/teavm/jso/plugin/JSOAliasRenderer.java +++ b/teavm-jso/src/main/java/org/teavm/jso/plugin/JSOAliasRenderer.java @@ -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 aliasEntry : entry.getValue().methods.entrySet()) { writer.append("c.").append(aliasEntry.getValue()).ws().append("=").ws().append("c.") .appendMethod(new MethodReference(entry.getKey(), aliasEntry.getKey()))