X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fcompiler-support.lisp;h=cbc6f9cd66d3283d1e59b1bcbbc7717fce3eb8b1;hb=64a7331285b0eab2c216f52670763c7d192cfdaa;hp=d4e113e132c43745236510fe93900778186f75a2;hpb=bd0ba0f214518e8d72ff2d44de5a1e3e4b02af2c;p=sbcl.git diff --git a/src/pcl/compiler-support.lisp b/src/pcl/compiler-support.lisp index d4e113e..cbc6f9c 100644 --- a/src/pcl/compiler-support.lisp +++ b/src/pcl/compiler-support.lisp @@ -51,8 +51,10 @@ (let ((arg-pos (position-if #'listp stuff))) (if arg-pos `(defmethod ,name ,@(subseq stuff 0 arg-pos) - ,(nth-value 2 (sb-pcl::parse-specialized-lambda-list - (elt stuff arg-pos)))) + ,(handler-case + (nth-value 2 (sb-pcl::parse-specialized-lambda-list + (elt stuff arg-pos))) + (error () ""))) `(defmethod ,name "")))) (defvar sb-pcl::*internal-pcl-generalized-fun-name-symbols* nil)