diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 15:44:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 15:44:43 +0800 |
commit | 54a97c8ebd12bee141eb5d0d0a3b92f9d411d0d5 (patch) | |
tree | ce37b2ee5583a576cf679f098003457aa726221d /script-beta/vm | |
parent | 8ddc5f60a24adb1ef8ac578965190a3e23e180c3 (diff) | |
download | lua-language-server-54a97c8ebd12bee141eb5d0d0a3b92f9d411d0d5.zip |
lookup 要 deep
Diffstat (limited to 'script-beta/vm')
-rw-r--r-- | script-beta/vm/getClass.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/getClass.lua b/script-beta/vm/getClass.lua index bd7f6f7c..1623090c 100644 --- a/script-beta/vm/getClass.lua +++ b/script-beta/vm/getClass.lua @@ -2,7 +2,7 @@ local vm = require 'vm.vm' local guide = require 'parser.guide' local function lookUpDocClass(source) - local infers = vm.getInfers(source) + local infers = vm.getInfers(source, 'deep') for _, infer in ipairs(infers) do if infer.source.type == 'doc.class' or infer.source.type == 'doc.type' then |