diff options
Diffstat (limited to 'script/core/diagnostics/undefined-field.lua')
-rw-r--r-- | script/core/diagnostics/undefined-field.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/undefined-field.lua b/script/core/diagnostics/undefined-field.lua index 03fedb7b..fac9607d 100644 --- a/script/core/diagnostics/undefined-field.lua +++ b/script/core/diagnostics/undefined-field.lua @@ -36,8 +36,8 @@ return function (uri, callback) local defs = vm.getDefs(node) local ok for _, def in ipairs(defs) do - if def.type == 'doc.class.name' - and not skipCheckClass[def[1]] then + if def.type == 'doc.class' + and not skipCheckClass[def.class[1]] then ok = true break end |