Commit 93067235 authored by pfdietz's avatar pfdietz
Browse files

Tests showing the destructuring problem in cmucl with &rest and &whole arguments.

parent fccdb014
......@@ -89,6 +89,17 @@
(return 'good)))
good)
(deftest destructuring-bind.20
(destructuring-bind (&whole (a . b) c . d) '(1 . 2) (list a b c d))
(1 2 1 2))
(deftest destructuring-bind.21
(destructuring-bind
(x &rest (y z))
'(1 2 3)
(values x y z))
1 2 3)
;;; Error cases
......
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