chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e16644
)
src/pset-impl.lisp: Don't look in `*module-type-map*' if it's unbound.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000
(09:26 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:28 +0000
(19:58 +0100)
It should be bound in general use, but depending on it makes testing
unnecessarily difficult.
src/pset-impl.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/pset-impl.lisp
b/src/pset-impl.lisp
index 14cb43b9a3f5dbe3dc5773fd30a36e7d6f36042d..baa38303cf4d22325dec4f273625496603fd3a8d 100644
(file)
--- a/
src/pset-impl.lisp
+++ b/
src/pset-impl.lisp
@@
-69,7
+69,8
@@
(defmethod coerce-property-value
(defmethod coerce-property-value
((value string) (type (eql :id)) (wanted (eql :type)))
- (or (gethash value *module-type-map*)
+ (or (and (boundp '*module-type-map*)
+ (gethash value *module-type-map*))
(gethash value *declspec-map*)
(error "Unknown type `~A'." value)))