1.0.31.31: SATISFIES cannot refer to local functions
[sbcl.git] / src / compiler / typetran.lisp
index 06d7b07..4f47e17 100644 (file)
            `(%typep ,object ',spec))
           (t
            (ecase (first spec)
-             (satisfies `(if (funcall #',(second spec) ,object) t nil))
+             (satisfies
+              `(if (funcall (global-function ,(second spec)) ,object) t nil))
              ((not and)
               (once-only ((n-obj object))
                 `(,(first spec) ,@(mapcar (lambda (x)