summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/guide.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index a787ea09..704c1cfe 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -4025,6 +4025,9 @@ function m.searchInfer(status, obj)
end
obj = value
end
+ if not obj then
+ return
+ end
local cache, makeCache = m.getRefCache(status, obj, 'infer')
if cache then