Opened 5 months ago

Last modified 5 months ago

#417 new defect

Bug in CL:DESTRUCTURING-BIND

Reported by: mevenson 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>.

Subtickets (add)

Change History (1)

comment:1 Changed 5 months ago by mevenson

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

Note: See TracTickets for help on using tickets.