diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 19:22:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 19:22:12 +0800 |
commit | b6fefa81bbba986aab59cd5221673e11083213ad (patch) | |
tree | 3b5c2c0b54274c74349cff2d866e10b8c627b680 /script-beta/vm | |
parent | a7f06f34a54dc65629869efe9fb3b4681e66d5cb (diff) | |
download | lua-language-server-b6fefa81bbba986aab59cd5221673e11083213ad.zip |
暂存
Diffstat (limited to 'script-beta/vm')
-rw-r--r-- | script-beta/vm/getValue.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/getValue.lua b/script-beta/vm/getValue.lua index a93ed6e9..a1f42da1 100644 --- a/script-beta/vm/getValue.lua +++ b/script-beta/vm/getValue.lua @@ -870,7 +870,7 @@ function vm.viewType(values) local types = {} for i = 1, #values do local tp = values[i].type - if not types[tp] and tp ~= 'any' then + if tp and not types[tp] and tp ~= 'any' then types[tp] = true types[#types+1] = tp end |