projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.7.3.2:
[sbcl.git]
/
src
/
pcl
/
compiler-support.lisp
diff --git
a/src/pcl/compiler-support.lisp
b/src/pcl/compiler-support.lisp
index
2cfa67d
..
56fc271
100644
(file)
--- a/
src/pcl/compiler-support.lisp
+++ b/
src/pcl/compiler-support.lisp
@@
-43,11
+43,11
@@
(cond
;; Flush tests whose result is known at compile time.
((csubtypep otype std-obj) t)
(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)))))
(t
`(typep (sb-kernel:layout-of object) 'sb-pcl::wrapper)))))
-(def-source-context defmethod (name &rest stuff)
+(define-source-context defmethod (name &rest stuff)
(let ((arg-pos (position-if #'listp stuff)))
(if arg-pos
`(defmethod ,name ,@(subseq stuff 0 arg-pos)
(let ((arg-pos (position-if #'listp stuff)))
(if arg-pos
`(defmethod ,name ,@(subseq stuff 0 arg-pos)