diff options
Diffstat (limited to 'script/core/guide.lua')
-rw-r--r-- | script/core/guide.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/guide.lua b/script/core/guide.lua index 45c93f69..fee057d6 100644 --- a/script/core/guide.lua +++ b/script/core/guide.lua @@ -2606,7 +2606,7 @@ local function findGenericFromArgIndexToReturnIndex(func, argIndex) local paramType for _, doc in ipairs(func.bindDocs) do if doc.type == 'doc.param' then - if doc.extends.paramIndex == argIndex then + if doc.extends and doc.extends.paramIndex == argIndex then paramType = doc.extends break end |