diff options
| author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-03-21 02:37:44 +0330 |
|---|---|---|
| committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-03-21 02:37:44 +0330 |
| commit | 62cd39836fd1237c5f432a629542eb511e5f9cb7 (patch) | |
| tree | 2ed60df94ececdebe9cecb4a57ce9d04247210ae /code | |
| parent | 6a89e51d47a705be9354d29e14cedef2371fa18c (diff) | |
fix bug in function types
Diffstat (limited to 'code')
| -rw-r--r-- | code/main.felan | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/code/main.felan b/code/main.felan index d463464..b059d04 100644 --- a/code/main.felan +++ b/code/main.felan @@ -1,3 +1,7 @@ main :: () -> void { - print_u64 2; + f(3); +}; + +f :(u64)->void: (a:u64)->void{ + print_u64 a; }; |