CHECK-INITARGS should do nothing when CACHED-KEYWORDS = T (meaning &allow-other-keys)

This commit is contained in:
Juan Jose Garcia Ripoll 2010-07-11 12:30:10 +02:00
parent 3ce9a3f6c6
commit 378917c199

View file

@ -724,7 +724,7 @@ because it contains a reference to the undefined class~% ~A"
;; First get all initargs which have been declared in the given
;; methods, then check the list of initargs declared in the slots
;; of the class.
(unless (eq methods t)
(unless (or (eq methods t) (eq cached-keywords t))
(do* ((name-loc initargs (cddr name-loc))
(allow-other-keys nil)
(allow-other-keys-found nil)