summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-18 01:20:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-18 01:20:54 +0800
commit5099d8be7125b948691d099b0e0084a72620293b (patch)
tree2bc0b2cd2fc670b7babd2967225c17aed378e147 /script/vm/node.lua
parent6df9d8376bc5339a8c4218cc261dc76d7ac8e7ad (diff)
downloadlua-language-server-5099d8be7125b948691d099b0e0084a72620293b.zip
update
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r--script/vm/node.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index 1ff229fa..26f8e761 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -106,6 +106,7 @@ function mt:hasFalsy()
return false
end
+---@return boolean
function mt:hasKnownType()
for _, c in ipairs(self) do
if c.type == 'global' and c.cate == 'type' then