summaryrefslogtreecommitdiff
path: root/test/thebug.lisp
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-03-27 17:23:26 -0400
committerLLLL Colonq <llll@colonq>2026-03-27 17:23:26 -0400
commit4b294e47144da00ae4b9568fed39569d187ce07e (patch)
tree179222746330c25fa4f0dfdb03e0fc0a15ad7c9b /test/thebug.lisp
parent3707dfaa64715c8fb1ba8a23f9762fef174538d8 (diff)
Fix doubles
Diffstat (limited to 'test/thebug.lisp')
-rw-r--r--test/thebug.lisp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/thebug.lisp b/test/thebug.lisp
new file mode 100644
index 0000000..ad87bd7
--- /dev/null
+++ b/test/thebug.lisp
@@ -0,0 +1,9 @@
+(defun! foo (x)
+ (lambda (y)
+ (+ x y)))
+
+(setq! bar (foo 10))
+(setq! baz (foo 100))
+
+(print! (funcall bar 4))
+