chiark
/
gitweb
/
~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/keyword.c (kw_parseempty): Use correct variable scanning `kwval' list.
[sod]
/
src
/
pset-proto.lisp
diff --git
a/src/pset-proto.lisp
b/src/pset-proto.lisp
index 5e02d9b9da303adb8d9c507a9199a96bb8da2b9b..f03ec51376746f0aaede4dceb291252b241a13bc 100644
(file)
--- a/
src/pset-proto.lisp
+++ b/
src/pset-proto.lisp
@@
-93,9
+93,10
@@
(defgeneric coerce-property-value (value type wanted)
;; say it didn't work.
(:method (value type wanted)
(if (eql type wanted) value
;; 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
hi
m the raw thing.
+ ;; If the caller asks for type T then give
the
m the raw thing.
(:method (value type (wanted (eql t)))
(declare (ignore type))
value))
(:method (value type (wanted (eql t)))
(declare (ignore type))
value))