From fed864bf018e7d97fda24089ebe08fa0da1c3b97 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 5 Sep 2023 18:30:01 +0300 Subject: more or less happy with syntax --- tests/calls.ek | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/calls.ek') diff --git a/tests/calls.ek b/tests/calls.ek index 4978649..0a4c20d 100644 --- a/tests/calls.ek +++ b/tests/calls.ek @@ -2,13 +2,13 @@ typedef some_type { add(some_type, some_type => some_type); } -add(a u32, b u32 => u32) +add(u32 a, u32 b => u32) { return a + b; } /* ah fuck, analyze_proc gobbles up the typeof */ -some_proc(a some_type, b typeof a => typeof a) +some_proc(some_type a, typeof a b => typeof a) { return add(a, b); } -- cgit v1.3