src/clos/method.lsp: use the (APPEND ... NIL) idiom to ensure that a fresh list is produced.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-11-14 17:36:55 +01:00
parent b69d02dac6
commit 8265f44396

View file

@ -68,7 +68,8 @@
(setf lambda-list
(append (subseq lambda-list 0 x)
'(&allow-other-keys)
(and x (subseq lambda-list x))))))
(and x (subseq lambda-list x))
nil))))
(let* ((class-declarations
(nconc (loop for name in required-parameters
for type in specializers