diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 19:40:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 19:40:02 +0800 |
commit | 610bd3b1db2d7e27dde61228697a3479474a7bb7 (patch) | |
tree | 95838b1b2b932a05a0653f5051365c014b61a75e /script-beta/vm | |
parent | b6fefa81bbba986aab59cd5221673e11083213ad (diff) | |
download | lua-language-server-610bd3b1db2d7e27dde61228697a3479474a7bb7.zip |
修正bug
Diffstat (limited to 'script-beta/vm')
-rw-r--r-- | script-beta/vm/getValue.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script-beta/vm/getValue.lua b/script-beta/vm/getValue.lua index a1f42da1..75737123 100644 --- a/script-beta/vm/getValue.lua +++ b/script-beta/vm/getValue.lua @@ -542,7 +542,7 @@ local function checkLibraryReturn(source) if not rtn.type then return nil end - if rtn.type == '...' then + if rtn.type == '...' or rtn.type == 'any' then return end return alloc { @@ -583,7 +583,7 @@ local function checkLibraryArg(source) if not arg.type then return end - if arg.type == '...' then + if arg.type == '...' or arg.type == 'any' then return end return alloc { |