diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/cli/doc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/cli/doc.lua b/script/cli/doc.lua index f94a2066..efaa70c8 100644 --- a/script/cli/doc.lua +++ b/script/cli/doc.lua @@ -57,7 +57,7 @@ local function packObject(source, mark) new.returns[i] = packObject(rtn) end end - new['view'] = getLabel(source) + new['view'] = getLabel(source, source.parent.type == 'setmethod') end if source.type == 'doc.type.table' then new['fields'] = packObject(source.fields, mark) |