the warning now prints out the package of the symbol that corresponds
to the newly created generic function.
;;;; -*- coding: utf-8; fill-column: 78 -*-
changes relative to sbcl-1.0.57:
+ * enchancement: implicit generic function warnings now specify the package
+ in which the new generic function is being created.
* enhancement: SB-EXT:ATOMIC-UPDATE makes it easy to perform non-destructive
updates of CAS-able places (similar to Clojure's swap!).
* bug fix: potential for infinite recursion during compilation of CLOS slot
((name :initarg :name :reader implicit-generic-function-name))
(:report
(lambda (condition stream)
- (format stream "~@<Implicitly creating new generic function ~S.~:@>"
- (implicit-generic-function-name condition)))))
+ (let ((*package* (find-package :keyword)))
+ (format stream "~@<Implicitly creating new generic function ~S.~:@>"
+ (implicit-generic-function-name condition))))))
(define-condition extension-failure (reference-condition simple-error)
())