summaryrefslogtreecommitdiff
path: root/src/matcher
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-19 17:13:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-19 17:13:33 +0800
commite8bcd1e80e9bed525f5515df0ce89516de37c51a (patch)
tree291fb9af5c0e36161944dfbcd13d4cc5621791a9 /src/matcher
parent2687363810809f350038acfab2f52f27a3dc51a2 (diff)
downloadlua-language-server-e8bcd1e80e9bed525f5515df0ce89516de37c51a.zip
修正bug
Diffstat (limited to 'src/matcher')
-rw-r--r--src/matcher/definition.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/matcher/definition.lua b/src/matcher/definition.lua
index b18e1a01..3168fcf1 100644
--- a/src/matcher/definition.lua
+++ b/src/matcher/definition.lua
@@ -79,10 +79,10 @@ function defs.FunctionDef(names, args)
if #names == 1 then
scopeSet(names[1])
end
+ scopePush()
for _, arg in ipairs(args) do
scopeSet(arg)
end
- scopePush()
end
function defs.Function()