From 7eaa051d4dcc3048c46f302997fd2175a983ac0e Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 15 Jan 2025 19:14:58 +0200 Subject: improve generics expansion --- tests/callbacks/callbacks.ek | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/callbacks/callbacks.ek') diff --git a/tests/callbacks/callbacks.ek b/tests/callbacks/callbacks.ek index 927c122..9e16627 100644 --- a/tests/callbacks/callbacks.ek +++ b/tests/callbacks/callbacks.ek @@ -1,6 +1,7 @@ typedef i27 {} +typedef ptr {} -do_stuff(^(i27 => i27) proc => i27) +do_stuff(*(i27 => i27) proc => i27) { return proc(20); } @@ -12,5 +13,5 @@ other_proc(i27 a => i27) main() { - do_stuff(other_proc); + do_stuff(other_proc&); } -- cgit v1.3