summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-23 20:06:47 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-23 20:07:04 +0330
commit4a39184dfcf0af72e2a28ffed2e3b342202fcba1 (patch)
tree804e466b54f6c3e99ec0caab9e8a1e1b31b052ba /test
parent1d13c72fb9fb40e35c64713a9176d263ad5fe09d (diff)
fix some bugs
Diffstat (limited to 'test')
-rw-r--r--test/main.felan9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/main.felan b/test/main.felan
index 7d80a9c..5f19b06 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,6 +1,7 @@
main :: () -> void {
- a :u64= 2;
- a += (if a == 2 1 else 2);
- print_u64 a;
+ a := 2.3;
+ if a == 2.3
+ print_u64 1;
+ else
+ print_u64 2;
};
-