X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdefstruct.lisp;fp=src%2Fcode%2Fdefstruct.lisp;h=a2ee93a0a18cae810066818257ea0241c929ca22;hb=ed18d662d473336285e2594ad21239afe1bca105;hp=9ff1cb91cf60397db1761ffbdd5f14b6512d38f1;hpb=f3a2cdc53b0e8c329fe56937468931fd84955e26;p=sbcl.git diff --git a/src/code/defstruct.lisp b/src/code/defstruct.lisp index 9ff1cb9..a2ee93a 100644 --- a/src/code/defstruct.lisp +++ b/src/code/defstruct.lisp @@ -527,10 +527,6 @@ ((not inherited) (stuff `(declaim (inline ,name ,@(unless (dsd-read-only slot) `((setf ,name)))))) - ;; FIXME: The arguments in the next two DEFUNs should - ;; be gensyms. (Otherwise e.g. if NEW-VALUE happened to - ;; be the name of a special variable, things could get - ;; weird.) (stuff `(defun ,name (structure) (declare (type ,ltype structure)) (the ,slot-type (elt structure ,index))))