Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in destructuring-bind <http://abcl.org/trac/ticket/417> #8

Closed
alanruttenberg opened this issue Nov 3, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@alanruttenberg
Copy link
Collaborator

commented Nov 3, 2016

(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

@easye easye changed the title bug in destructuring-bind bug in destructuring-bind <http://abcl.org/trac/ticket/417> Nov 17, 2016

@Ferada

This comment has been minimized.

Copy link

commented May 14, 2017

I'm relatively sure I have a fix for this here Ferada@2422740.

easye pushed a commit that referenced this issue May 15, 2017

@easye easye closed this May 15, 2017

svn2github pushed a commit to svn2github/abcl that referenced this issue May 16, 2017

mevenson
Fix DESTRUCTURING-BIND with &rest arguments
(Olof-Joachim Frahm)

Fixes <http://abcl.org/trac/ticket/417> aka
<armedbear/abcl#8>.

Merges <armedbear/abcl#42>.

git-svn-id: http://abcl.org/svn@15004 1c010e3e-69d0-11dd-93a8-456734b0d56f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.