diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-08 08:54:04 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-08 08:54:04 +0330 |
commit | 964c7178a371f79123d54a43671375f5c0ceb7e4 (patch) | |
tree | 3d4b2fe193e8bfd9b880014a8895c28b832e593a /test | |
parent | 3adb71cebdec10823af28074a631bf929401e7c4 (diff) |
better errors
Diffstat (limited to 'test')
-rw-r--r-- | test/main.felan | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/main.felan b/test/main.felan index 3afe119..4ca3372 100644 --- a/test/main.felan +++ b/test/main.felan @@ -1,10 +1,9 @@ main :: () -> void { a : u64 = fun(); - a = a + 3; print_u64 a + 5; }; -fun :: ()->u64 { +fun :: (b:u64)->u64 { return 1; }; |