From 35f1284ac5573efab481c26c5154a1ae533e409f Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Fri, 4 Aug 2023 10:27:44 +0200 Subject: [PATCH] js: fix issue in obfuscated mode --- .../src/main/java/org/teavm/jso/impl/JSWrapperGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jso/impl/src/main/java/org/teavm/jso/impl/JSWrapperGenerator.java b/jso/impl/src/main/java/org/teavm/jso/impl/JSWrapperGenerator.java index 4653f9179..0fe4a6758 100644 --- a/jso/impl/src/main/java/org/teavm/jso/impl/JSWrapperGenerator.java +++ b/jso/impl/src/main/java/org/teavm/jso/impl/JSWrapperGenerator.java @@ -40,7 +40,7 @@ public class JSWrapperGenerator implements Injector, DependencyPlugin { break; case "isJava": context.writeExpr(context.getArgument(0)); - context.getWriter().append(" instanceof ").appendFunction("$rt_objcls").append("()"); + context.getWriter().append(" instanceof ").append("$rt_objcls").append("()"); break; } }