src/pset-proto.lisp: Print type names in lowercase in error messages.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 12 Aug 2019 10:14:43 +0000 (11:14 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 12 Aug 2019 11:40:24 +0000 (12:40 +0100)
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)))