X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftypecheckfuns.lisp;h=9f3bee915dfae3f14a9e25bc708e22a02437fd10;hb=860543cc7ba0266e41e1d41ac9b6a208f3795f1a;hp=92adc902ee1bda9dc8c8588ab0fc1a211d1917b5;hpb=2d3cb6dba6461e98744eca2a1df4f770cea468ca;p=sbcl.git diff --git a/src/code/typecheckfuns.lisp b/src/code/typecheckfuns.lisp index 92adc90..9f3bee9 100644 --- a/src/code/typecheckfuns.lisp +++ b/src/code/typecheckfuns.lisp @@ -122,7 +122,7 @@ ;;; Memoize the FORM which returns a typecheckfun for TYPESPEC. (defmacro memoized-typecheckfun-form (form typespec) - (let ((n-typespec (gensym "TYPESPEC"))) + (with-unique-names (n-typespec) `(let ((,n-typespec ,typespec)) (or (gethash ,n-typespec *typecheckfuns*) (setf (gethash ,n-typespec *typecheckfuns*)