summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-11 22:03:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-11 22:03:43 +0800
commit390474caca77ea5e745f3a3ae2ca7168e7165573 (patch)
tree97bdcf92bf6ec60d802f795f47e59bb8e33f3c61 /script/vm/node.lua
parentd74c85c8517b9f3b7591cc337fa387f2805ebb40 (diff)
downloadlua-language-server-390474caca77ea5e745f3a3ae2ca7168e7165573.zip
stash
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r--script/vm/node.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index f6d86949..cec0a36f 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -61,7 +61,7 @@ end
---@return boolean
function mt:isTyped()
for _, c in ipairs(self) do
- if c.type == 'global' and c.cate == 'variable' then
+ if c.type == 'global' and c.cate == 'type' then
return true
end
if guide.isLiteral(c) then