1.0.30.21: prettier STYLE-WARNINGS for incompatible type proclamations
authorNikodemus Siivola <nikodemus@random-state.net>
Thu, 30 Jul 2009 14:10:39 +0000 (14:10 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Thu, 30 Jul 2009 14:10:39 +0000 (14:10 +0000)
 * Print the specifier, not the type object.

src/compiler/proclaim.lisp
version.lisp-expr

index 3864723..ed78315 100644 (file)
                    (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
+                      "~@<new TYPE proclamation for ~S~@:_  ~S~@:_~
+                        does not match the old TYPE proclamation:~@:_  ~S~@:>"
+                      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*)))
index c140eb0..2f65b6c 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.30.20"
+"1.0.30.21"