From 1b643a2ad670352fadf2bc94e0e6167436808e2c Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 2 Jul 2015 19:59:28 +0300 Subject: [PATCH] Fix https://github.com/konsoletyper/teavm/issues/134 --- .../plugin/ClassScopedMetadataProviderNativeGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teavm-platform/src/main/java/org/teavm/platform/plugin/ClassScopedMetadataProviderNativeGenerator.java b/teavm-platform/src/main/java/org/teavm/platform/plugin/ClassScopedMetadataProviderNativeGenerator.java index a41dda509..377a887e9 100644 --- a/teavm-platform/src/main/java/org/teavm/platform/plugin/ClassScopedMetadataProviderNativeGenerator.java +++ b/teavm-platform/src/main/java/org/teavm/platform/plugin/ClassScopedMetadataProviderNativeGenerator.java @@ -90,7 +90,7 @@ public class ClassScopedMetadataProviderNativeGenerator implements Generator { .softNewLine().indent(); writer.append("return cls.hasOwnProperty(p)").ws().append("?").ws().append("cls[p]").ws().append(":") .ws().append("null;").softNewLine(); - writer.outdent().append("}").softNewLine(); + writer.outdent().append("};").softNewLine(); writer.append("return ").appendMethodBody(methodRef).append("(").append(context.getParameterName(1)) .append(");").softNewLine(); }