summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-28 20:30:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-28 20:30:27 +0800
commit08638eedb6cf74bd815e933f4a90e989a1516948 (patch)
treeea88bcb7e13cef38075cba431bbc872cb8e03d7d /script/vm
parent5b950742705515c4bc2502e8a902221f44bf644f (diff)
downloadlua-language-server-08638eedb6cf74bd815e933f4a90e989a1516948.zip
some fix
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/runner.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/runner.lua b/script/vm/runner.lua
index 8c1e816e..fcd0f681 100644
--- a/script/vm/runner.lua
+++ b/script/vm/runner.lua
@@ -209,7 +209,7 @@ function mt:_lookInto(action, topNode, outNode)
local topNode1, outNode1 = self:_lookInto(action[1], topNode, outNode)
local topNode2, outNode2 = self:_lookInto(action[2], outNode1, outNode1:copy())
topNode = vm.createNode(topNode1, topNode2)
- outNode = outNode2
+ outNode = outNode2:copy()
elseif action.op.type == '=='
or action.op.type == '~=' then
local exp, checker