summaryrefslogtreecommitdiff
path: root/pit/test/test5.pit
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-09-06 17:40:51 -0400
committerLLLL Colonq <llll@colonq>2026-09-06 17:40:51 -0400
commit71bfa9094a4a25f762d681bb07f79f92a95dbb87 (patch)
tree1b7ff31dad86e072a37e4270e762a5e0f12f87ac /pit/test/test5.pit
parent843ea34efc2c5ea10edc4d534304f8287f97fbbc (diff)
pit: Fix evaluator bug
Diffstat (limited to 'pit/test/test5.pit')
-rw-r--r--pit/test/test5.pit3
1 files changed, 2 insertions, 1 deletions
diff --git a/pit/test/test5.pit b/pit/test/test5.pit
index 3ea3fc7..2ad3675 100644
--- a/pit/test/test5.pit
+++ b/pit/test/test5.pit
@@ -1,5 +1,6 @@
(defun! foo (x)
- (print! x)
+ (if (equal? 0 (% x 10000))
+ (print! x))
(foo (+ x 1)))
(foo 0) \ No newline at end of file