diff options
-rw-r--r-- | script/core/infer.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/infer.lua b/script/core/infer.lua index c2912e5d..5bf8a5f2 100644 --- a/script/core/infer.lua +++ b/script/core/infer.lua @@ -425,7 +425,8 @@ local function searchInfer(source, infers, mark) local value = searcher.getObjectValue(source) if value then if value.type ~= 'function' - and value.type ~= 'table' then + and value.type ~= 'table' + and value.type ~= 'nil' then searchInferOfValue(value, infers, mark) end return |