Changing the Class of an Object

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Fri Dec 15 09:06:55 UTC 2000


On Thu, 14 Dec 2000, Andrew P. Black wrote:

> It would still be nice if SP's changset made it as a plugin or
> something, for benefit of those of us who have not yet learned to
> enjoy building VMs.  

Well, the #changeClassToThatOf: method does essentially the same, but it
can easily ensure that the class layout is the same, so it's much safer to
use (and so could eventually make it into the base image). And even then,
the weird selector is much more appropriate than SP's innocious looking
but highly dangerous selector #class:.

-- Bert





More information about the Squeak-dev mailing list