summaryrefslogtreecommitdiff
path: root/server/src/vm/function.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-22 11:24:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-22 11:24:37 +0800
commit5b584a6f9607221db888ed5ccbb93809006f2746 (patch)
tree243c60a2284f8c75dee8e7ec1166dac0665357a8 /server/src/vm/function.lua
parentc0cb126d73007c618e2887776a04f94882ad6021 (diff)
downloadlua-language-server-5b584a6f9607221db888ed5ccbb93809006f2746.zip
去掉一个冗余标记
Diffstat (limited to 'server/src/vm/function.lua')
-rw-r--r--server/src/vm/function.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/src/vm/function.lua b/server/src/vm/function.lua
index 0c13b840..973f984e 100644
--- a/server/src/vm/function.lua
+++ b/server/src/vm/function.lua
@@ -196,7 +196,6 @@ function mt:createArg(vm, arg)
arg:set('arg', true)
if arg.type == 'name' then
local loc = createLocal(arg[1], arg, createValue('nil', arg))
- loc:set('arg', arg)
self:saveLocal(arg[1], loc)
self.args[#self.args+1] = loc
elseif arg.type == '...' then