summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-18 20:28:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-18 20:28:05 +0800
commit0331eb481c08d4f8c0449d95ab52dd8ec9ed7977 (patch)
tree5e7480932c449a08733873b93a020eba930e4dc8 /script/vm
parent076dd3e5c4e03f9cef0c5757dfa09a010c0ec6bf (diff)
downloadlua-language-server-0331eb481c08d4f8c0449d95ab52dd8ec9ed7977.zip
small cleanup
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/compiler.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index c3d4c159..f09c6b73 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -1627,6 +1627,7 @@ local function compileByGlobal(source)
vm.setNode(root._globalBase[name], globalNode, true)
vm.setNode(source, globalNode, true)
+ -- TODO:don't mix
local sets = global.links[uri].sets or {}
local gets = global.links[uri].gets or {}
for _, set in ipairs(sets) do