Skip to content

Commit a812d5e

Browse files
committed
fix
1 parent 6d96909 commit a812d5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script/vm/runner.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ function mt:_lookIntoChild(action, topNode, outNode)
171171
local checkerNode = vm.compileNode(checker)
172172
local checkerName = vm.getNodeName(checker)
173173
if checkerName then
174+
topNode = topNode:copy()
174175
if action.op.type == '==' then
175176
topNode:narrow(self._uri, checkerName)
176177
if outNode then

0 commit comments

Comments
 (0)