:ALLOW-OTHER-KEYS in compiled code
Describe the bug
:allow-other-keys
is not handled correctly in compiled code when a key argument with the name allow-other-keys
is present.
To Reproduce
;; This should return 10, but signals an error:
(funcall (compile nil '(lambda (&key allow-other-keys) allow-other-keys)) :allow-other-keys 10 :foo 20)
; Unknown keyword: :FOO
; [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]
Desktop (please complete the following information):
- OS: Linux
- Version: 21e