diff options
author | unknown <sumnekosun@intranet.123u.com> | 2019-04-02 17:39:23 +0800 |
---|---|---|
committer | unknown <sumnekosun@intranet.123u.com> | 2019-04-02 17:39:23 +0800 |
commit | eb90f54d5bef871070b45cae9863c779755faf04 (patch) | |
tree | 5e7a38402d7c9357094188fe32e5987651b58fab /server/src/vm | |
parent | 9151577f9a9b00114e2e0925f510555b12bf54ca (diff) | |
download | lua-language-server-eb90f54d5bef871070b45cae9863c779755faf04.zip |
修正一个报错
Diffstat (limited to 'server/src/vm')
-rw-r--r-- | server/src/vm/function.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/vm/function.lua b/server/src/vm/function.lua index 2db056c4..ec7eb12a 100644 --- a/server/src/vm/function.lua +++ b/server/src/vm/function.lua @@ -31,6 +31,9 @@ function mt:push(source) end function mt:pop() + if self._removed then + return + end local closed = self.finishs[self._top] local closedLocals = self.locals[self._top] self.locals[self._top] = nil |