diff --git a/core/src/main/java/org/teavm/backend/javascript/JavaScriptTarget.java b/core/src/main/java/org/teavm/backend/javascript/JavaScriptTarget.java index 47e6e16e4..d17744ab1 100644 --- a/core/src/main/java/org/teavm/backend/javascript/JavaScriptTarget.java +++ b/core/src/main/java/org/teavm/backend/javascript/JavaScriptTarget.java @@ -127,7 +127,7 @@ public class JavaScriptTarget implements TeaVMTarget, TeaVMJavaScriptHost { private final Set asyncMethods = new HashSet<>(); private final Set asyncFamilyMethods = new HashSet<>(); private List customVirtualMethods = new ArrayList<>(); - private int topLevelNameLimit = 10000; + private int topLevelNameLimit = 500000; private AstDependencyExtractor dependencyExtractor = new AstDependencyExtractor(); private boolean strict; private BoundCheckInsertion boundCheckInsertion = new BoundCheckInsertion();