X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdefstruct.lisp;h=a2ee93a0a18cae810066818257ea0241c929ca22;hb=f44f6d1adbaaa7057f1948369299c0b2a08bcd6e;hp=9ff1cb91cf60397db1761ffbdd5f14b6512d38f1;hpb=d8422b9967f465801891907396bcc5bfde0f3297;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))))