diff options
Diffstat (limited to 'script/core/hover/label.lua')
-rw-r--r-- | script/core/hover/label.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua index dd309c41..2fb0b14c 100644 --- a/script/core/hover/label.lua +++ b/script/core/hover/label.lua @@ -127,10 +127,8 @@ local function asDocField(source) end end local infers = {} - for _, ext in ipairs(source.extends) do - for _, infer in ipairs(vm.getInfers(ext) or {}) do - infers[#infers+1] = infer - end + for _, infer in ipairs(vm.getInfers(source.extends) or {}) do + infers[#infers+1] = infer end if not class then return ('field ?.%s: %s'):format( |