diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-29 06:26:49 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-29 06:26:49 +0330 |
commit | 258ad19e6e03e1f1a93e16972cac1096a2d93e04 (patch) | |
tree | 4294fe5a39f4d148a0a616884036284de6dbc590 /test | |
parent | f8019d33f61807de5369d78de6216427c56500dd (diff) |
add global variables
fix shadowing in different levels
better type checking
Diffstat (limited to 'test')
-rw-r--r-- | test/main.felan | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/main.felan b/test/main.felan index d1e576d..1adc1dd 100644 --- a/test/main.felan +++ b/test/main.felan @@ -1,4 +1,9 @@ -main :: () -> void { - a :: 1423; +main :()->void: () -> void { + a :: 3; print_u64 a; + c :: 4; + print_u64 b; + print_u64 c; }; +a :: 1; +b :: 2; |