From 7699e4ba610e570199f0b8c9097a5cdeda472c40 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, 21 Jul 2022 17:39:41 +0800 Subject: fix #1335 --- script/vm/sign.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'script/vm/sign.lua') diff --git a/script/vm/sign.lua b/script/vm/sign.lua index a0478751..7c95fd08 100644 --- a/script/vm/sign.lua +++ b/script/vm/sign.lua @@ -63,6 +63,10 @@ function mt:resolve(uri, args, removeGeneric) resolve(object.node, vm.compileNode(field.extends)) end) end + if n.type == 'table' and #n >= 1 then + -- { x } / { ... } -> T[] + resolve(object.node, vm.compileNode(n[1])) + end end end if object.type == 'doc.type.table' then -- cgit v1.2.3