summaryrefslogtreecommitdiff
path: root/script/vm/tracer.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-02-10 16:01:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-02-10 16:01:17 +0800
commit4b0d634a27ae188c98f839736bad1b8514952467 (patch)
tree1152d131fe33306b0b753ed20d799119829add53 /script/vm/tracer.lua
parent5e112de9cbf4627038036fdfa41e9cf890d74e1d (diff)
downloadlua-language-server-4b0d634a27ae188c98f839736bad1b8514952467.zip
fix #1889
Diffstat (limited to 'script/vm/tracer.lua')
-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 6ce57d5c..a13d00e1 100644
--- a/script/vm/tracer.lua
+++ b/script/vm/tracer.lua
@@ -369,7 +369,7 @@ local lookIntoChild = util.switch()
local neverReturn = subBlock.hasReturn
or subBlock.hasGoTo
or subBlock.hasBreak
- or subBlock.hasError
+ or subBlock.hasExit
if neverReturn then
mergedNode = true
else