summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-23 12:09:38 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-23 12:09:38 +0330
commit1bd43564b2edda3358e1b0ad9b83b64dfb59c0d9 (patch)
tree2079c5181267319f1ca3146614c2dde4c0c020d5 /test
parent51abdf014511f00f205333d033167a68d3eb7298 (diff)
fix < >= operator bug
Diffstat (limited to 'test')
-rw-r--r--test/main.felan8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/main.felan b/test/main.felan
index 1efa1cf..d8aec7a 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,12 +1,12 @@
main :: () -> void {
- a :getType(i64,u64)= 10;
- while a > 0 {
+ a :getType(i64,u64)= 0;
+ while a < 10 {
print_u64 a;
- a = a -1;
+ a = a + 1;
}
};
-signed :: false;
+signed := false;
getType :: (a:type,b:type)->type {
if signed