X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fproclaim.lisp;h=ed783154a52f4706a39357bcde840cbf6a29e240;hb=95591ed483dbb8c0846c129953acac1554f28809;hp=acaa660b7b7bbf51d003b0e48720e1e85286ac3e;hpb=79a8e51bf4b06a5bd57bc90233605f98fee3b041;p=sbcl.git diff --git a/src/compiler/proclaim.lisp b/src/compiler/proclaim.lisp index acaa660..ed78315 100644 --- a/src/compiler/proclaim.lisp +++ b/src/compiler/proclaim.lisp @@ -212,10 +212,10 @@ (when (type/= type old-type) ;; FIXME: changing to TYPE-PROCLAMATION-MISMATCH ;; broke late-proclaim.lisp. - (style-warn "The new TYPE proclamation~% ~S~@ - for ~S does not match the old TYPE~@ - proclamation ~S" - type name old-type)))) + (style-warn + "~@" + name (type-specifier type) (type-specifier old-type))))) (setf (info :variable :type name) type) (setf (info :variable :where-from name) :declared))) (push raw-form *queued-proclaims*))) @@ -233,11 +233,9 @@ ;; FIXME: changing to FTYPE-PROCLAMATION-MISMATCH ;; broke late-proclaim.lisp. (style-warn - "new FTYPE proclamation~@ - ~S~@ - for ~S does not match old FTYPE proclamation~@ - ~S" - ctype name old-type)))) + "~@" + name (type-specifier ctype) (type-specifier old-type))))) ;; Now references to this function shouldn't be warned ;; about as undefined, since even if we haven't seen a