summaryrefslogtreecommitdiff
path: root/script/vm/vm.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-06 22:58:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-06 22:58:11 +0800
commit9be846d86c494e08d376aa465e8269796176765a (patch)
tree04027cdb5ae6a118739a92911dbbd6797a39939f /script/vm/vm.lua
parentdcca81c4fa7bd9b745123be8be0c8b07fcd6e29a (diff)
downloadlua-language-server-9be846d86c494e08d376aa465e8269796176765a.zip
type check: check the fields in table
resolve #1434
Diffstat (limited to 'script/vm/vm.lua')
-rw-r--r--script/vm/vm.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/vm.lua b/script/vm/vm.lua
index 49edcff5..4baca762 100644
--- a/script/vm/vm.lua
+++ b/script/vm/vm.lua
@@ -21,6 +21,7 @@ function m.getSpecial(source)
return source.special
end
+---@param source parser.object
---@return string?
function m.getKeyName(source)
if not source then