[FIX] initializeProtoFix-md
ducasse
ducasse at iam.unibe.ch
Tue Nov 18 15:49:08 UTC 2003
I already approved it :)))
On Mardi, nov 18, 2003, at 15:41 Europe/Zurich, Marcus Denker wrote:
>
> Am 18.11.2003 um 16:32 schrieb Hannes Hirzel:
>
>> marcus at ira.uka.de wrote:
>>
>>> from preamble:
>>> "Change Set: initializeProtoFix-md
>>> Date: 18 November 2003
>>> Author: Marcus Denker
>>> This changeset just moves the empty implementation of
>>> 'initialize' from Object to ProtoObject. This allows to
>>> do a 'ProtoObject new' without getting an error."!
>>> ---------------------------------------------------------------------
>>> ---
>> This is probably against the intention of the person who put
>> initialize there. ProtoObjects are not considered to be created. At
>> least there is none in my image.
>>
> I should have added that I discussed that with Noury and Stef.
>
> With "new" sending initialize by default, I think ProtoObject is the
> right place
> to catch it. Keep in mind that
> a) "ProtoObject new" used to work, and now it doesn't.
> b) Without adding this to protoObject, it would have to be added to
> *every* subclass
> (or you'd have to implement new to not send it). This tells me
> that it lives better
> in ProtoObject than in every subclass of it.
>
> Marcus
>
> --
> Marcus Denker marcus at ira.uka.de
>
>
More information about the Squeak-dev
mailing list
|