Opened 9 months ago

Closed 3 months ago

#417 closed defect (fixed)

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

Change History (2)

comment:1 Changed 9 months ago by mevenson

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

comment:2 Changed 3 months ago by mevenson

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.