Double initialization exposed... (was Re: About KCP and automatic
initialize)
goran.krampe at bluefish.se
goran.krampe at bluefish.se
Thu Sep 18 10:15:43 UTC 2003
Hi guys!
Btw, add the line below (the "submorphs ifNotNil..." line), open a
transcript and open up some tools like say... a browser? :)
regards, Göran
----------
Morph>>initialize
"initialize the state of the receiver"
owner _ nil.
submorphs ifNotNil: [Transcript show: 'Oops, double initialization in',
self class name;cr].
submorphs _ EmptyArray.
bounds _ self defaultBounds.
color _ self defaultColor
More information about the Squeak-dev
mailing list
|