summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-18 15:03:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-18 15:03:52 +0800
commit5d6ec01a3f2b63317f838337751a5b7bbd400b54 (patch)
tree6b5d73c5355bc85eab163dfdee1f073da0c8909c
parentfd5fe4235939967f4b22b397c4fdff3b9b1f666a (diff)
downloadlua-language-server-5d6ec01a3f2b63317f838337751a5b7bbd400b54.zip
fix
-rw-r--r--script/parser/compile.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/compile.lua b/script/parser/compile.lua
index 21be406d..ccbeeed7 100644
--- a/script/parser/compile.lua
+++ b/script/parser/compile.lua
@@ -152,7 +152,7 @@ local vmMap = {
local localself = {
type = 'local',
start = value.start,
- finish = value.finish,
+ finish = value.start,
method = obj,
effect = obj.finish,
tag = 'self',