X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-cltl2%2Fenv.lisp;h=7b479c855616a489a47203f79e848ac9183e738d;hb=37d3828773e2f847bb1ed7522b0af4fb8e736fc8;hp=52152d9d2a2dfa607b9378f164ebb06402c91bbc;hpb=ef36750fb245e78d3fc36ff6f37e0a4037323a9e;p=sbcl.git diff --git a/contrib/sb-cltl2/env.lisp b/contrib/sb-cltl2/env.lisp index 52152d9..7b479c8 100644 --- a/contrib/sb-cltl2/env.lisp +++ b/contrib/sb-cltl2/env.lisp @@ -155,7 +155,7 @@ nil)) -(declaim (ftype (sfunction (symbol &optional (or null lexenv)) +(declaim (ftype (sfunction ((or symbol cons) &optional (or null lexenv)) (values (member nil :function :macro :special-form) boolean list)) @@ -389,7 +389,7 @@ the condition types that have been muffled." (let ((policy (sb-c::lexenv-policy env))) (collect ((res)) (dolist (name sb-c::*policy-qualities*) - (res (list name (cdr (assoc name policy))))) + (res (list name (sb-c::policy-quality policy name)))) (loop for (name . nil) in sb-c::*policy-dependent-qualities* do (res (list name (sb-c::policy-quality policy name)))) (res))))