summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-25 12:19:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-25 12:19:10 +0800
commita88964e7b8f272498f0d540e110eb54c64501127 (patch)
treeaa8a0f95addfd44e2d436349a9c042dc3515c1f9 /script/vm
parenta1a5ac131dd85c11bbe493d1e73740106bb0aa24 (diff)
downloadlua-language-server-a88964e7b8f272498f0d540e110eb54c64501127.zip
fix infer
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 75610ee5..7fbde208 100644
--- a/script/vm/runner.lua
+++ b/script/vm/runner.lua
@@ -177,7 +177,7 @@ function mt:_compileBlock(block)
type = 'save',
tag = 'block',
copy = true,
- pos = block.start,
+ pos = childBlock.start,
}
local outStep = {
type = 'save',