From ab99f21ad9b7af5905481d3f56e58c3b320e3303 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 19 Mar 2021 18:50:24 -0700 Subject: don't try to call COMPLEMENT on nil Signed-off-by: Sean Whitton --- src/propspec.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/propspec.lisp') diff --git a/src/propspec.lisp b/src/propspec.lisp index 8572cae..d1fabd1 100644 --- a/src/propspec.lisp +++ b/src/propspec.lisp @@ -336,7 +336,8 @@ apply the elements of REQUIREMENTS in reverse order." :lambda (proplambda psym) :desc (lambda (&rest args) (strcat "Unapply: " (apply #'propdesc psym args))) - :check (complement (get psym 'check)) + :check (when-let ((check (get psym 'check))) + (complement check)) :hostattrs (lambda (&rest args) ;; run the :HOSTATTRS subroutine but throw away any ;; new hostattrs; when unapplying, the :HOSTATTRS -- cgit v1.2.3