From 2f0ebc285beebf29fd6379361e7a122c74972579 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Sat, 22 Aug 2026 01:58:04 +0800 Subject: [PATCH] =?UTF-8?q?test(coro):=20=E6=96=B0=E5=A2=9E=20TPV=20?= =?UTF-8?q?=E5=8D=8F=E7=A8=8B=20try/finally=20+=20=E5=B8=A7=E6=B1=A0=20+?= =?UTF-8?q?=20c.Addr=20=E5=8F=A5=E6=9F=84=E7=BB=BC=E5=90=88=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Test/CoroTest/App/main.vp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test/CoroTest/App/main.vp b/Test/CoroTest/App/main.vp index 1cffc5e..b22e23d 100644 --- a/Test/CoroTest/App/main.vp +++ b/Test/CoroTest/App/main.vp @@ -31,7 +31,7 @@ async def task() -> int: def main() -> t.CInt: n: t.CInt = 0 for i in range(3): - tt: coro.Coroutine = task() + tt: coro.Coroutine = c.Addr(task()) r: t.CInt = coro.coro_run(tt) e: t.CInt = coro.coro_exception(tt) m: t.CPtr = coro.coro_exception_msg(tt)