diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-11-19 17:13:33 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-11-19 17:13:33 +0800 |
commit | e8bcd1e80e9bed525f5515df0ce89516de37c51a (patch) | |
tree | 291fb9af5c0e36161944dfbcd13d4cc5621791a9 /src/matcher | |
parent | 2687363810809f350038acfab2f52f27a3dc51a2 (diff) | |
download | lua-language-server-e8bcd1e80e9bed525f5515df0ce89516de37c51a.zip |
修正bug
Diffstat (limited to 'src/matcher')
-rw-r--r-- | src/matcher/definition.lua | 2 |
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() |