diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-18 20:07:07 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-18 20:07:07 +0800 |
commit | 92e1b16ba3e6749602f2ea2dcb64a73f11653caa (patch) | |
tree | 5feed39fa9ed5536dcfb38766fc58427f68d6348 /server/src/vm/local.lua | |
parent | 0680944ab40753dede0f3b7150b283db4715f502 (diff) | |
download | lua-language-server-92e1b16ba3e6749602f2ea2dcb64a73f11653caa.zip |
field支持 Emmy.class
Diffstat (limited to 'server/src/vm/local.lua')
-rw-r--r-- | server/src/vm/local.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/vm/local.lua b/server/src/vm/local.lua index e75ed149..d047b106 100644 --- a/server/src/vm/local.lua +++ b/server/src/vm/local.lua @@ -111,6 +111,13 @@ function mt:shadow(old) end group[#group+1] = self self._shadow = group + + if not self:getSource() then + log.debug('not self:getSource()', table.dump(self)) + end + if not old.close then + log.debug('not old.close', table.dump(old)) + end old:close(self:getSource().start - 1) end |