projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.7.6.3:
[sbcl.git]
/
src
/
pcl
/
env.lisp
diff --git
a/src/pcl/env.lisp
b/src/pcl/env.lisp
index
becccfa
..
8018e81
100644
(file)
--- a/
src/pcl/env.lisp
+++ b/
src/pcl/env.lisp
@@
-142,15
+142,15
@@
(defmethod make-instance ((class cl:class) &rest stuff)
(apply #'make-instance (coerce-to-pcl-class class) stuff))
(defmethod make-instance ((class cl:class) &rest stuff)
(apply #'make-instance (coerce-to-pcl-class class) stuff))
-(defmethod change-class (instance (class cl:class))
- (apply #'change-class instance (coerce-to-pcl-class class)))
+(defmethod change-class (instance (class cl:class) &rest initargs)
+ (apply #'change-class instance (coerce-to-pcl-class class) initargs))
(macrolet ((frob (&rest names)
`(progn
(macrolet ((frob (&rest names)
`(progn
- ,@(mapcar #'(lambda (name)
- `(defmethod ,name ((class cl:class))
- (funcall #',name
- (coerce-to-pcl-class class))))
+ ,@(mapcar (lambda (name)
+ `(defmethod ,name ((class cl:class))
+ (funcall #',name
+ (coerce-to-pcl-class class))))
names))))
(frob
class-direct-slots
names))))
(frob
class-direct-slots