diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2024-09-05 18:43:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2024-09-05 18:43:04 +0800 |
commit | 2c9e555b052e1a56c26928c2517dfd37271b60c9 (patch) | |
tree | 63fd70f5cdca15963334c94f4809c6b56dc3015c /script/vm | |
parent | c636fdd95cee883d6d57330dd9c119a9a67680d4 (diff) | |
download | lua-language-server-2c9e555b052e1a56c26928c2517dfd37271b60c9.zip |
fix
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/compiler.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index deab2033..0259947f 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -517,7 +517,7 @@ end ---@param suri uri ---@param object vm.global ---@param key string|number|integer|boolean|vm.global|vm.ANY ----@param pushResult fun(field: vm.object, isMark?: boolean, discardParentFields?: boolean) +---@param pushResult fun(field: vm.object | vm.global, isMark?: boolean, discardParentFields?: boolean) function vm.getSimpleClassFields(suri, object, key, pushResult) local mark = {} local function searchClass(class, searchedFields, discardParentFields) @@ -2318,4 +2318,4 @@ function vm.compileNode(source) local node = vm.getNode(source) ---@cast node -? return node -end
\ No newline at end of file +end |