* bug fix: minor violation of "otherwise inaccessible" rule for stack
allocation could cause objects users might reasonably expect to
be heap allocated to be stack allocated.
+ * bug fix: DESCRIBE signalled an error for generic functions under
+ certain circumstances. (reported by Leslie Polzer)
changes in sbcl-1.0.30 relative to sbcl-1.0.29:
* minor incompatible change: SB-THREAD:JOIN-THREAD-ERROR-THREAD and
(ecase (info :function :where-from name)
(:declared "Declared")
;; This is hopefully clearer to users
- ((:defined-method :defined) "Derived"))))))
+ ((:defined-method :defined) "Derived")
+ (:assumed))))))
(if (typep fun 'generic-function)
(values fun
"a generic function"
(format stream "~%~A names ~A:" name what)
(pprint-indent :block 2 stream))
(describe-lambda-list lambda-list stream)
- (when ftype
+ (when (and ftype from)
(format stream "~@:_~A type: ~S" from ftype))
(describe-documentation name 'function stream)
(when (car inline)
#+sb-doc
(with-test (:name (documentation built-in-function))
(assert (documentation 'cons 'function)))
+
+(with-test (:name :describe-generic-function-with-assumed-type)
+ ;; Signalled an error at one point
+ (flet ((zoo () (gogo)))
+ (defmethod gogo () nil)
+ (describe 'gogo)))
\f
;;;; success
;;; 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".)
-"1.0.30.5"
+"1.0.30.6"