summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-22 01:30:25 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-22 01:30:25 +0330
commit7a4c9a3e886bb03889c02e0e834ed210e7269ab5 (patch)
treecfc4fe1a21c1fad0f2af0afff45997a6557e6d15 /test
parent30210fac06a6719a1f547a8cd1e24c159d7e7ee7 (diff)
cleaning stuff and maybe cause some speed up
Diffstat (limited to 'test')
-rw-r--r--test/main.felan7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/main.felan b/test/main.felan
index b14a3ee..1efa1cf 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,13 +1,12 @@
main :: () -> void {
- a :theType= 10;
+ a :getType(i64,u64)= 10;
while a > 0 {
- print_u64 1;
+ print_u64 a;
a = a -1;
}
};
-theType :: getType(u64,i64);
-signed :: true;
+signed :: false;
getType :: (a:type,b:type)->type {
if signed