Opened 7 years ago

Closed 7 years ago

#417 closed defect (fixed)

Bug in CL:DESTRUCTURING-BIND

Reported by: Mark Evenson Owned by:
Priority: major Milestone: 1.5.0
Component: interpreter Version:
Keywords: github-issue ansi-compatibility Cc:
Parent Tickets:

Description

(defun test (args) (destructuring-bind (a b &rest c) args (list a b)))
(test '(1))
-> '(1 nil)

should signal an error

without the &rest args

(defun test (args) (destructuring-bind (a b) args (list a b)))
(test '(1)) 

signals an error as expected

Initial report on Github from Alan <https://github.com/armedbear/abcl/issues/8>.

Change History (2)

comment:1 Changed 7 years ago by Mark Evenson

See <http://abcl.org/trac/ticket/382> for possible additional/related problems with CL:DESTRUCTURING-BIND

comment:2 Changed 7 years ago by Mark Evenson

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.