diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-17 19:27:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-17 19:27:15 +0800 |
commit | 07ffe8e3290c5a5768ef2925b440713916a6cd87 (patch) | |
tree | 5711f46f9617377faae6ad91b38def7f207caed4 /script/vm/compiler.lua | |
parent | 096ff4ef464af5eda4a45ad4daec813fd362e532 (diff) | |
download | lua-language-server-07ffe8e3290c5a5768ef2925b440713916a6cd87.zip |
so easy
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r-- | script/vm/compiler.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 8df28e7b..c3d4c159 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1625,6 +1625,7 @@ local function compileByGlobal(source) end globalNode = vm.createNode(global) vm.setNode(root._globalBase[name], globalNode, true) + vm.setNode(source, globalNode, true) local sets = global.links[uri].sets or {} local gets = global.links[uri].gets or {} |