From 6de8c401f4345863e0800a7262ca66c49b0a281c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 15 Nov 2019 15:25:56 +0800 Subject: =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E7=94=A8=20special=20=E5=B0=B1?= =?UTF-8?q?=E8=A1=8C=E4=BA=86=EF=BC=8C=E4=B8=8D=E5=86=8D=E9=80=92=E5=BD=92?= =?UTF-8?q?=E5=88=86=E6=9E=90=E7=89=B9=E6=AE=8AAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/core/definition.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server-beta/src/core') diff --git a/server-beta/src/core/definition.lua b/server-beta/src/core/definition.lua index 9e69d27f..3fa7c3bf 100644 --- a/server-beta/src/core/definition.lua +++ b/server-beta/src/core/definition.lua @@ -58,7 +58,7 @@ local function checkRequire(source, offset, callback) if type(literal) ~= 'string' then return end - local name = searcher.getSpecialName(func) + local name = func.special if name == 'require' then local result = workspace.findUrisByRequirePath(literal, true) for _, uri in ipairs(result) do -- cgit v1.2.3