summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-04 20:18:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-04 20:18:16 +0800
commitffc89179de7598fce8bd0db54f09275d09d3f5b2 (patch)
tree96381aef0f14d858f3584a82d3667d755eb3379e /script/vm/compiler.lua
parente601608ed7da7e88a31775cc459905d406558ae2 (diff)
downloadlua-language-server-ffc89179de7598fce8bd0db54f09275d09d3f5b2.zip
fix runner
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index 6932a8c8..37042d76 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -1313,6 +1313,8 @@ local compilerSwitch = util.switch()
else
vm.setNode(src, vm.compileNode(src.value), true)
end
+ else
+ vm.setNode(src, node, true)
end
return vm.getNode(src)
elseif src.type == 'getlocal' then