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)