summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/circle-doc-class.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/circle-doc-class.lua')
-rw-r--r--script/core/diagnostics/circle-doc-class.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/circle-doc-class.lua b/script/core/diagnostics/circle-doc-class.lua
index 407b7e83..9a3fa2f5 100644
--- a/script/core/diagnostics/circle-doc-class.lua
+++ b/script/core/diagnostics/circle-doc-class.lua
@@ -41,8 +41,8 @@ return function (uri, callback)
mark[newName] = true
local docs = vm.getDocSets(uri, newName)
for _, otherDoc in ipairs(docs) do
- if otherDoc.type == 'doc.class.name' then
- list[#list+1] = otherDoc.parent
+ if otherDoc.type == 'doc.class' then
+ list[#list+1] = otherDoc
end
end
end