diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-28 10:33:50 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-28 10:33:50 +0800 |
commit | ec3eb3c504e2c13bec721fbe521ec2ac43ce7820 (patch) | |
tree | 7ed5cdf06f3a8cf4bd9a4fd07d19bd226cc291dc /server/src/vm/vm.lua | |
parent | 4fc32a8f7f410af9e2952d08ab98c74547a4fc9f (diff) | |
download | lua-language-server-ec3eb3c504e2c13bec721fbe521ec2ac43ce7820.zip |
emmy.return
Diffstat (limited to 'server/src/vm/vm.lua')
-rw-r--r-- | server/src/vm/vm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua index bb996066..56fec644 100644 --- a/server/src/vm/vm.lua +++ b/server/src/vm/vm.lua @@ -1075,7 +1075,7 @@ end function mt:createFunction(source) local value = self:createValue('function', source) local func = functionMgr.create(source) - func:setEmmyParams(self:getEmmyParams()) + func:setEmmy(self:getEmmyParams(), self:getEmmyReturns()) value:setFunction(func) value:setType('function', 1.0) if source:getUri() == self.uri then |