summaryrefslogtreecommitdiff
path: root/script/vm/def.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-07-30 17:46:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-07-30 17:46:00 +0800
commitaae2c7888bad227b6df897b97c01f123744175de (patch)
treea1947eaa8a9a1e4d1d95d4e2bb68337efe4b9390 /script/vm/def.lua
parente760b69c8104d0bf6ef17f6f033265908557743d (diff)
downloadlua-language-server-aae2c7888bad227b6df897b97c01f123744175de.zip
过测试
Diffstat (limited to 'script/vm/def.lua')
-rw-r--r--script/vm/def.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/def.lua b/script/vm/def.lua
index 669d39c2..ffd2de7a 100644
--- a/script/vm/def.lua
+++ b/script/vm/def.lua
@@ -93,7 +93,7 @@ function vm.getDefs(source)
return results
end
-local HAS_DEF_ERR = {} -- the error object for comparing
+local HAS_DEF_ERR = {'<HAS_DEF_ERR>'} -- the error object for comparing
local function checkHasDef(checkFunc, source, pushResult)
local _, err = pcall(checkFunc, source, pushResult)
return err == HAS_DEF_ERR