From 7ca5c199bb4689528107e4f71382bc8baf71cba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 19 Nov 2020 14:30:22 +0800 Subject: =?UTF-8?q?doc.array=20=E7=9A=84=E7=89=B9=E6=AE=8A=E6=8E=A8?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/core/hover/label.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script-beta/core/hover/label.lua') diff --git a/script-beta/core/hover/label.lua b/script-beta/core/hover/label.lua index 24779c41..29db67fa 100644 --- a/script-beta/core/hover/label.lua +++ b/script-beta/core/hover/label.lua @@ -48,7 +48,7 @@ local function asValue(source, title) local class = vm.getClass(source, 'deep') local literal = vm.getInferLiteral(source, 'deep') local cont - if type ~= 'string' then + if type ~= 'string' and not type:find('%[%]$') then if #vm.getFields(source, 'deep') > 0 or vm.hasInferType(source, 'table', 'deep') then cont = buildTable(source) -- cgit v1.2.3