summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-12-16 15:30:04 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-12-16 15:30:04 +0800
commitbc436972d2793e38f71cde5c1b01e9bb317e1c17 (patch)
tree538dff32904463775805b43b28a31aad352eae38 /script/vm
parentef7d4030ff86eedd0e667b3e7fe4b06ca4aec5fe (diff)
downloadlua-language-server-bc436972d2793e38f71cde5c1b01e9bb317e1c17.zip
fix
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/tracer.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/tracer.lua b/script/vm/tracer.lua
index b97df135..e5f96214 100644
--- a/script/vm/tracer.lua
+++ b/script/vm/tracer.lua
@@ -362,6 +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)
local blockNode = mainNode:copy()
if subBlock.filter then
blockNode, mainNode = self:lookIntoChild(subBlock.filter, blockNode, mainNode)