X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fcompiler-support.lisp;h=1553085aef907c430d190093fc72df4b9edcb93b;hb=416152f084604094445a758ff399871132dff2bd;hp=2cfa67dcf16252d09782d635532613b6dcbcedff;hpb=d5aafdd8ab6387e12bac187048ed322bc96fb79a;p=sbcl.git diff --git a/src/pcl/compiler-support.lisp b/src/pcl/compiler-support.lisp index 2cfa67d..1553085 100644 --- a/src/pcl/compiler-support.lisp +++ b/src/pcl/compiler-support.lisp @@ -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)))))