+174:
+ The error message from attempting to use a #\Return format
+ directive:
+ (format nil "~^M") ; replace "^M" with a literal #\Return
+ debugger invoked on condition of type SB-FORMAT::FORMAT-ERROR:
+ error in format: unknown format directive
+ ~
+ ^
+ is not terribly helpful; this is more noticeable than parallel cases
+ with e.g. #\Backspace because of the differing newline conventions
+ on various operating systems. (reported by Harald Hanche-Olsen on
+ cmucl-help 2002-05-31)
+
+176:
+ reported by Alexey Dejneka 08 Jun 2002 in sbcl-devel:
+ Playing with McCLIM, I've received an error "Unbound variable WRAPPER
+ in SB-PCL::CHECK-WRAPPER-VALIDITY".
+ (defun check-wrapper-validity (instance)
+ (let* ((owrapper (wrapper-of instance)))
+ (if (not (invalid-wrapper-p owrapper))
+ owrapper
+ (let* ((state (wrapper-state wrapper)) ; !!!
+ ...
+ I've tried to replace it with OWRAPPER, but now OBSOLETE-INSTANCE-TRAP
+ breaks with "NIL is not of type SB-KERNEL:LAYOUT".
+ SBCL 0.7.4.13.
+ partial fix: The undefined variable WRAPPER resulted from an error
+ in recent refactoring, as can be seen by comparing to the code in e.g.
+ sbcl-0.7.2. Replacing WRAPPER with OWRAPPER (done by WHN in sbcl-0.7.4.22)
+ should bring the code back to its behavior as of sbcl-0.7.2, but
+ that still leaves the OBSOLETE-INSTANCE-TRAP bug. An example of
+ input which triggers that bug is
+ (dotimes (i 20)
+ (let ((lastname (intern (format nil "C~D" (1- i))))
+ (name (intern (format nil "C~D" i))))
+ (eval `(defclass ,name
+ (,@(if (= i 0) nil (list lastname)))
+ ()))
+ (eval `(defmethod initialize-instance :after ((x ,name) &rest any)
+ (declare (ignore any))))))
+ (defclass b () ())
+ (defclass c0 (b) ())
+ (make-instance 'c19)
+
+178: "AVER failure compiling confused THEs in FUNCALL"
+ In sbcl-0.7.4.24, compiling
+ (defun bug178 (x)
+ (funcall (the function (the standard-object x))))
+ gives
+ failed AVER:
+ "(AND (EQ (IR2-CONTINUATION-PRIMITIVE-TYPE 2CONT) FUNCTION-PTYPE) (EQ CHECK T))"
+ This variant compiles OK, though:
+ (defun bug178alternative (x)
+ (funcall (the nil x)))
+
+179:
+ (fixed in sbcl-0.7.4.28)
+
+180:
+ In sbcl-0.7.4.35, PCL seems not to understand the :MOST-SPECIFIC-LAST
+ option for PROGN method combination. It does understand that
+ :MOST-SPECIFIC-FIRST and :MOST-SPECIFIC-LAST belong with PROGN.
+ If I use another keyword, it complains:
+ (defgeneric foo ((x t))
+ (:method-combination progn :most-specific-first))
+ outputs
+ method combination error in CLOS dispatch:
+ Illegal options to a short method combination type.
+ The method combination type PROGN accepts one option which
+ must be either :MOST-SPECIFIC-FIRST or :MOST-SPECIFIC-LAST.
+ And when I use :MOST-SPECIFIC-FIRST, I get the expected default
+ behavior:
+ (defgeneric foo ((x t))
+ (:method-combination progn :most-specific-first))
+ (defmethod foo progn ((x number))
+ (print 'number))
+ (defmethod foo progn ((x fixnum))
+ (print 'fixnum))
+ (foo 14)
+ outputs
+ FIXNUM
+ NUMBER
+ and returns
+ NUMBER
+ But with :MOST-SPECIFIC-LAST,
+ (defgeneric foo ((x t))
+ (:method-combination progn :most-specific-last))
+ (defmethod foo progn ((x number))
+ (print 'number))
+ (defmethod foo progn ((x fixnum))
+ (print 'fixnum))
+ (foo 14)
+ the behavior doesn't change, giving output of
+ FIXNUM
+ NUMBER
+ and returning
+ NUMBER
+ Raymond Toy reported 2002-06-15 on sbcl-devel that CMU CL's PCL
+ doesn't seem to have this bug, outputting NUMBER before FIXNUM
+ as expected in the last case above.
+
+181:
+ Compiling
+ (in-package :cl-user)
+ (defun bar (x)
+ (declare (type 0 x))
+ (cons x x))
+ signals
+ bad thing to be a type specifier: 0
+ which seems fine, but also enters the debugger (instead of having
+ the compiler handle the error, convert it into a COMPILER-ERROR, and
+ continue compiling) which seems wrong.
+
+