0.pre7.14:
[sbcl.git] / src / pcl / compiler-support.lisp
index 2cfa67d..1553085 100644 (file)
@@ -43,7 +43,7 @@
     (cond
       ;; Flush tests whose result is known at compile time.
       ((csubtypep otype std-obj) t)
-      ((not (types-intersect otype std-obj)) nil)
+      ((not (types-equal-or-intersect otype std-obj)) nil)
       (t
        `(typep (sb-kernel:layout-of object) 'sb-pcl::wrapper)))))