summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-12-16 15:39:25 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-12-16 15:39:25 +0800
commit72a4342c054851b19b6b82105d34c2184414cd60 (patch)
tree9166fa71e2ad9175d4533d1f4eab4fb0c763c2a9 /script/vm
parentbc436972d2793e38f71cde5c1b01e9bb317e1c17 (diff)
downloadlua-language-server-72a4342c054851b19b6b82105d34c2184414cd60.zip
fix
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/tracer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/tracer.lua b/script/vm/tracer.lua
index e5f96214..e83cfc11 100644
--- a/script/vm/tracer.lua
+++ b/script/vm/tracer.lua
@@ -362,7 +362,7 @@ function mt:lookIntoChild(action, topNode, outNode)
local mainNode = topNode:copy()
local blockNodes = {}
for _, subBlock in ipairs(action) do
- self:fastWardCasts(subBlock.start, mainNode)
+ self:resetCastsIndex(subBlock.start)
local blockNode = mainNode:copy()
if subBlock.filter then
blockNode, mainNode = self:lookIntoChild(subBlock.filter, blockNode, mainNode)