aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/standard-hooks.lisp10
-rw-r--r--testiere.asd2
2 files changed, 7 insertions, 5 deletions
diff --git a/src/standard-hooks.lisp b/src/standard-hooks.lisp
index fcf1367..691b537 100644
--- a/src/standard-hooks.lisp
+++ b/src/standard-hooks.lisp
@@ -21,8 +21,9 @@
;; (:tests ...))
(defun defclass-restarts-expander (form)
- (let ((name (second form)))
- `((make-unbound
+ (let* ((name (second form))
+ (restart-name (intern (format nil "UNBIND-FUNCTION-~a" (symbol-name name)))))
+ `((,restart-name
()
(setf (find-class ',name) nil)))))
@@ -50,8 +51,9 @@
;; (+ x y z))
(defun defun-restarts-expander (form)
- (let ((name (second form)))
- `((make-unbound
+ (let* ((name (second form))
+ (restart-name (intern (format nil "UNBIND-CLASS-~a" (symbol-name name)))))
+ `((,restart-name
()
(fmakunbound ',name)))))
diff --git a/testiere.asd b/testiere.asd
index 147b556..374f2e7 100644
--- a/testiere.asd
+++ b/testiere.asd
@@ -4,7 +4,7 @@
:description "TDD system for Common Lisp"
:author "Colin OKeefe <colin@cicadas.surf>"
:license "GPLv3"
- :version "1.0.0"
+ :version "1.0.1"
:depends-on (:trivia)
:pathname "src/"
:serial t