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

&allow-other-keys not working #491

Open
hemml opened this issue Nov 14, 2023 · 0 comments
Open

&allow-other-keys not working #491

hemml opened this issue Nov 14, 2023 · 0 comments

Comments

@hemml
Copy link
Contributor

hemml commented Nov 14, 2023

CL-USER> (defun xxx (a &key b &allow-other-keys) (format t "~A ~A~%" a b))
XXX
CL-USER> (xxx 1)
1 NIL
NIL
CL-USER> (xxx 1 :b 2)
1 2
NIL
CL-USER> (xxx 1 :b 2 :c 3)
ERROR: Unknown keyword argument C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant