From 15fa11654114e7451d64a726f6ad9d6abbd92b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 16 Jan 2023 17:00:56 +0800 Subject: improve type infer of recursion alias --- script/core/hover/description.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/core/hover/description.lua') diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua index bd584d74..d515313b 100644 --- a/script/core/hover/description.lua +++ b/script/core/hover/description.lua @@ -263,7 +263,7 @@ local function buildEnumChunk(docType, name, uri) (enum.default and '->') or (enum.additional and '+>') or ' |', - vm.viewObject(enum, uri) + vm.getInfer(enum):view(uri) ) if enum.comment then local first = true -- cgit v1.2.3