From 50eb204da73f0120a352b6d2bf911536c9c92392 Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Sat, 23 Nov 2024 20:04:19 +0200 Subject: [PATCH] fix: remove unnecessary reference from core to compiler --- .../me/topchetoeu/jscript/common/mapping/FunctionMap.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/me/topchetoeu/jscript/common/mapping/FunctionMap.java b/src/main/java/me/topchetoeu/jscript/common/mapping/FunctionMap.java index 5b87d81..07f301c 100644 --- a/src/main/java/me/topchetoeu/jscript/common/mapping/FunctionMap.java +++ b/src/main/java/me/topchetoeu/jscript/common/mapping/FunctionMap.java @@ -15,7 +15,6 @@ import java.util.stream.Collectors; import me.topchetoeu.jscript.common.Instruction.BreakpointType; import me.topchetoeu.jscript.common.parsing.Filename; import me.topchetoeu.jscript.common.parsing.Location; -import me.topchetoeu.jscript.compilation.scope.Scope; public class FunctionMap { public static class FunctionMapBuilder { @@ -54,9 +53,6 @@ public class FunctionMap { public FunctionMap build(String[] localNames, String[] captureNames) { return new FunctionMap(sourceMap, breakpoints, localNames, captureNames); } - public FunctionMap build(Scope scope) { - return new FunctionMap(sourceMap, breakpoints, new String[0], new String[0]); - } public FunctionMap build() { return new FunctionMap(sourceMap, breakpoints, new String[0], new String[0]); }