From ff344fb7a4598447cd6527c84f01d658f3fc9f11 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 26 May 2016 09:26:09 +0100 Subject: [PATCH] src/pset-impl.lisp: Don't look in `*module-type-map*' if it's unbound. It should be bound in general use, but depending on it makes testing unnecessarily difficult. --- src/pset-impl.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pset-impl.lisp b/src/pset-impl.lisp index 14cb43b..baa3830 100644 --- a/src/pset-impl.lisp +++ b/src/pset-impl.lisp @@ -69,7 +69,8 @@ (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))) -- 2.11.0