diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2024-07-30 17:46:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2024-07-30 17:46:00 +0800 |
commit | aae2c7888bad227b6df897b97c01f123744175de (patch) | |
tree | a1947eaa8a9a1e4d1d95d4e2bb68337efe4b9390 /script/vm/def.lua | |
parent | e760b69c8104d0bf6ef17f6f033265908557743d (diff) | |
download | lua-language-server-aae2c7888bad227b6df897b97c01f123744175de.zip |
过测试
Diffstat (limited to 'script/vm/def.lua')
-rw-r--r-- | script/vm/def.lua | 2 |
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 |