1.0.12.18: faster member-type operations
[sbcl.git] / src / code / cross-type.lisp
index fee5884..730a764 100644 (file)
   ;; call TYPE=, that in turn may call CTYPEP). Until then, pick a few
   ;; cherries off.
   (cond ((member-type-p ctype)
-         (if (member obj (member-type-members ctype))
+         (if (member-type-member-p obj ctype)
              (values t t)
              (values nil t)))
         ((union-type-p ctype)