summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-08-08 18:09:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-08-08 18:09:50 +0800
commite6a5b41f7424ad56a12efdf950efd2f20ad5f322 (patch)
treed54cc38a75bd894bc3e4613d0e567cf45f2aae3c
parent40fd1d7c4c9bed4842acfdfe4e1cbb0307bab941 (diff)
downloadlua-language-server-e6a5b41f7424ad56a12efdf950efd2f20ad5f322.zip
ignored error
-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 ffd2de7a..41f735b2 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 = {'<HAS_DEF_ERR>'} -- the error object for comparing
+local HAS_DEF_ERR = false -- the error object for comparing
local function checkHasDef(checkFunc, source, pushResult)
local _, err = pcall(checkFunc, source, pushResult)
return err == HAS_DEF_ERR