Add a REPLACE restart for the annoying "FOO already names an ordinary
function or a macro" error for DEFGENERIC.
(if (and existing
(eq *boot-state* 'complete)
(null (generic-function-p existing)))
- (generic-clobbers-function fun-name)
+ (restart-case
+ (generic-clobbers-function fun-name)
+ (replace ()
+ :report "Replace the function binding"
+ (fmakunbound fun-name)
+ (apply #'ensure-generic-function fun-name all-keys)))
(apply #'ensure-generic-function-using-class
existing fun-name all-keys))))
;;; 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.9.18.63"
+"0.9.18.64"