From 71bfa9094a4a25f762d681bb07f79f92a95dbb87 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Sun, 6 Sep 2026 17:40:51 -0400 Subject: pit: Fix evaluator bug --- pit/test/thebug.pit | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pit/test/thebug.pit (limited to 'pit/test/thebug.pit') diff --git a/pit/test/thebug.pit b/pit/test/thebug.pit new file mode 100644 index 0000000..ad87bd7 --- /dev/null +++ b/pit/test/thebug.pit @@ -0,0 +1,9 @@ +(defun! foo (x) + (lambda (y) + (+ x y))) + +(setq! bar (foo 10)) +(setq! baz (foo 100)) + +(print! (funcall bar 4)) + -- cgit v1.3.1