Skip to content

Commit 49945e3

Browse files
committed
Change (defun (setf slot-value)) on (defsetf)
1 parent 3e994dc commit 49945e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/clos/methods.lisp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515

1616
;;; @vlad-km.
1717
;;; moved from std-object.
18+
#+nil
1819
(defun (setf slot-value) (new-value object slot-name)
1920
(if (eq (!class-of (!class-of object)) *the-class-standard-class*)
2021
(setf-std-slot-value object slot-name new-value)
2122
(setf-slot-value-using-class new-value (!class-of object) object slot-name)))
2223

24+
(defsetf slot-value setf-slot-value)
2325

2426
;;; @vlad-km
2527
;;; moved from std-object.lisp

0 commit comments

Comments
 (0)