diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-13 17:05:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-13 17:05:50 +0800 |
commit | e8b46e34769bb1ad974f19ab214f943df8cce072 (patch) | |
tree | 37471b616ac978f48263562b52d3ea3e7a35cd42 /script/vm/global.lua | |
parent | ff741df641bbe99a418bb856e14e3ec30bbc08aa (diff) | |
download | lua-language-server-e8b46e34769bb1ad974f19ab214f943df8cce072.zip |
fix
Diffstat (limited to 'script/vm/global.lua')
-rw-r--r-- | script/vm/global.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/global.lua b/script/vm/global.lua index 19474bb5..c1b5f320 100644 --- a/script/vm/global.lua +++ b/script/vm/global.lua @@ -552,7 +552,7 @@ function vm.compileByGlobal(source) if vm.bindDocs(source) then return true end - if source.value then + if source.value and source.value.type ~= 'nil' then vm.setNode(source, vm.compileNode(source.value)) return true end |