X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpcl%2Fcompiler-support.lisp;h=1553085aef907c430d190093fc72df4b9edcb93b;hb=a8fa26a6e9804d3548f5bca9361a91345a689099;hp=41951e080d29bbdcb9134876c234b4a39298fe8f;hpb=475c832b081651e66ad9446d4852c62086f5e740;p=sbcl.git diff --git a/src/pcl/compiler-support.lisp b/src/pcl/compiler-support.lisp index 41951e0..1553085 100644 --- a/src/pcl/compiler-support.lisp +++ b/src/pcl/compiler-support.lisp @@ -42,8 +42,8 @@ (std-obj (specifier-type 'sb-pcl::std-object))) (cond ;; Flush tests whose result is known at compile time. - ((csubtypep otype std-obj) 't) - ((not (types-intersect otype std-obj)) 'nil) + ((csubtypep otype std-obj) t) + ((not (types-equal-or-intersect otype std-obj)) nil) (t `(typep (sb-kernel:layout-of object) 'sb-pcl::wrapper)))))