summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/duplicate-doc-class.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/duplicate-doc-class.lua')
-rw-r--r--script/core/diagnostics/duplicate-doc-class.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/duplicate-doc-class.lua b/script/core/diagnostics/duplicate-doc-class.lua
index 97e2089a..5114a54f 100644
--- a/script/core/diagnostics/duplicate-doc-class.lua
+++ b/script/core/diagnostics/duplicate-doc-class.lua
@@ -19,7 +19,7 @@ return function (uri, callback)
if doc.type == 'doc.alias' then
local name = guide.getKeyName(doc)
if not cache[name] then
- local docs = vm.getDocDefines(name)
+ local docs = vm.getDocDefines(uri, name)
cache[name] = {}
for _, otherDoc in ipairs(docs) do
if otherDoc.type == 'doc.class.name'