[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make-instance
- To: CommonLoops.pa@Xerox.COM
- Subject: make-instance
- From: Rob Pettengill <rcp@MCC.COM>
- Date: Thu, 2 Apr 87 10:13:07 CST
I have found a couple of CLOS problems with PCL:make-instance
1. Make-Instance will not take the name of a class only a class:
(make-instance 'foo) looses and (make-instance (class-named 'foo))
wins.
2. Make-Instance does not initialize the instance while Make-FOO
does:
<cl> (make-2d-placement)
#S(2D-PLACEMENT ANGLE-OF-ROTATION 0 X-SCALE 1.0 Y-SCALE 1.0 ...)
<cl> (make-instance (class-named '2d-placement))
#S(2D-PLACEMENT ANGLE-OF-ROTATION NIL X-SCALE NIL Y-SCALE NIL ...)