diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-20 22:50:39 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-20 22:50:39 +0800 |
commit | f629e481de53bbfac24ebae5c952bb80e3300d47 (patch) | |
tree | 29be92fae9205ffa97dfc6f1b405f67f4017a574 /script/vm/node.lua | |
parent | 28d5a33077b28dcbb52974aaf90125cee013342b (diff) | |
download | lua-language-server-f629e481de53bbfac24ebae5c952bb80e3300d47.zip |
update
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r-- | script/vm/node.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua index 26f8e761..9433733e 100644 --- a/script/vm/node.lua +++ b/script/vm/node.lua @@ -14,7 +14,6 @@ mt.__index = mt mt.id = 0 mt.type = 'vm.node' mt.optional = nil -mt.lastInfer = nil mt.data = nil ---@param node vm.node | vm.object @@ -310,6 +309,7 @@ function vm.setNode(source, node, cover) error('Can not set node to global') end if cover then + ---@cast node vm.node vm.nodeCache[source] = node return end |