summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 6ef239f1..01ce6021 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -1734,9 +1734,12 @@ local function checkSameSimpleAndMergeDocTypeFunctionReturns(status, results, so
end
function m.checkSameSimpleInCallInSameFile(status, func, args, index)
+ local results = {}
+ if func.special then
+ return results
+ end
local newStatus = m.status(status)
m.searchRefs(newStatus, func, 'def')
- local results = {}
for _, def in ipairs(newStatus.results) do
local hasDocReturn = checkSameSimpleAndMergeDocTypeFunctionReturns(status, results, def, index)
or checkSameSimpleAndMergeFunctionReturnsByDoc(status, results, def, index)