diff options
Diffstat (limited to 'script/core/hover/label.lua')
-rw-r--r-- | script/core/hover/label.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua index ae0b2450..a82a09ea 100644 --- a/script/core/hover/label.lua +++ b/script/core/hover/label.lua @@ -49,7 +49,7 @@ local function asValue(source, title) local literal = vm.getInferLiteral(source, 0) local cont if not vm.hasInferType(source, 'string', 0) and not type:find('%[%]$') then - if #vm.getDefFields(source, 0) > 0 + if #vm.getFields(source, 0) > 0 or vm.hasInferType(source, 'table', 0) then cont = buildTable(source) end |