src/pset-proto.lisp: Print type names in lowercase in error messages.
[sod] / src / pset-proto.lisp
index 09547e8..f03ec51 100644 (file)
@@ -93,7 +93,8 @@
   ;; say it didn't work.
   (:method (value type wanted)
     (if (eql type wanted) value
-       (error "Incorrect type: expected ~A but found ~A" wanted type)))
+       (error "Incorrect type: expected ~(~A~) but found ~(~A~)"
+              wanted type)))
 
   ;; If the caller asks for type T then give them the raw thing.
   (:method (value type (wanted (eql t)))