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/vm/node.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script/vm/node.lua') diff --git a/script/vm/node.lua b/script/vm/node.lua index cec0a36f..0ffd8c70 100644 --- a/script/vm/node.lua +++ b/script/vm/node.lua @@ -397,7 +397,7 @@ function mt:copy() return vm.createNode(self) end ----@param source vm.object | vm.variable +---@param source vm.node.object | vm.generic ---@param node vm.node | vm.node.object ---@param cover? boolean ---@return vm.node @@ -428,7 +428,7 @@ function vm.setNode(source, node, cover) return me end ----@param source vm.object | vm.variable +---@param source vm.node.object ---@return vm.node? function vm.getNode(source) return vm.nodeCache[source] -- cgit v1.2.3