diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-07 03:42:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-07 03:42:34 +0800 |
commit | 6e12bb49c6351975193c906b7ef21fd2c1d61e10 (patch) | |
tree | b83872cdbf1d25bbbaee6b42183f47f10722eb02 /script/vm/global-manager.lua | |
parent | afaf9114d2ea37b1567b6e09ab018ae594f88e08 (diff) | |
download | lua-language-server-6e12bb49c6351975193c906b7ef21fd2c1d61e10.zip |
update
Diffstat (limited to 'script/vm/global-manager.lua')
-rw-r--r-- | script/vm/global-manager.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/global-manager.lua b/script/vm/global-manager.lua index 5f0b6a14..66bb0aba 100644 --- a/script/vm/global-manager.lua +++ b/script/vm/global-manager.lua @@ -33,6 +33,9 @@ local compilerGlobalSwitch = util.switch() if source.special ~= '_G' then return end + if not source.next then + return + end m.compileObject(source.next) end) : case 'setglobal' |