Commit 8bedb3c3 authored by Attila Lendvai's avatar Attila Lendvai
Browse files

added bug/walk.2

Ignore-this: faa1bd48d0450e76652552bb47bcff02

darcs-hash:3014735c0464ffdf47d05a0f8dd5ad6fc1f0db9b
parent 6b4a327f
...@@ -1727,6 +1727,14 @@ ...@@ -1727,6 +1727,14 @@
(over i)))) ; would yield (1 1 1) if correct (over i)))) ; would yield (1 1 1) if correct
(1 2 3)) (1 2 3))
(deftest bug/walk.2
(iter (return (if (oddp 1)
(progn)
'even)))
;; The bug is in emtpy PROGN walking. Due to that the THEN branch is lost
;; and it returns 'EVEN instead of NIL.
nil)
(deftest bug/macrolet.2 (deftest bug/macrolet.2
(progn (progn
(format *error-output* (format *error-output*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment