From 727c02381a27e42db36efa356fed427cbf0f821b Mon Sep 17 00:00:00 2001 From: konsoletyper <konsoletyper@gmail.com> Date: Wed, 11 Feb 2015 23:21:28 +0400 Subject: [PATCH] Fix error in JSO alias generator --- .../src/main/java/org/teavm/jso/plugin/JSOAliasRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<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()))