SB-EXT:INHIBIT-WARNINGS OPTIMIZE quality. See the manual for
documentation on this feature. The SB-EXT:INHIBIT-WARNINGS
quality should be considered deprecated.
+ * fixed bug: Invalid slot specification errors now print correctly.
+ (thanks to Zach Beane)
* fixed bug 320: Shared to local slot value transfers in class
redefinitions now happen corrently from superclasses as
well. (reported by Bruno Haible)
:format-control
"~@<in DEFCLASS ~S, the slot specification ~S is invalid; ~
the probable intended meaning may be achieved by ~
- specifiying ~S instead."
+ specifiying ~S instead.~>"
:format-arguments
(list class-name spec
`(,(car spec) :initform ,(cadr spec)))))
:no-lambda-list)
(push gf collect)))))
(print (nreverse collect)))))
+
+;;; Regressing test for invalid slot specification error printing
+(multiple-value-bind (value err)
+ (ignore-errors (macroexpand '(defclass foo () (frob (frob bar)))))
+ (declare (ignore value))
+ (assert (typep err 'simple-condition))
+ (multiple-value-bind (value format-err)
+ (ignore-errors (apply #'format nil
+ (simple-condition-format-control err)
+ (simple-condition-format-arguments err)))
+ (declare (ignore value))
+ (assert (not format-err))))
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.10.38"
+"0.8.10.39"