On Sun, May 27, 2012 at 11:02 AM, Denis Kudriashov <[email protected]>wrote:

> I found problem.
>
> Proxy classes in SMock and Mocketry are subclasses of ProtoObject which
> not implements #class.
> But proxy classes use "self class" in some methods (like #printOn:
> implementation).
>
> I add #class implementation from Object to ProtoObject and all SMock and
> Mocketry tests become green.
>
> So questions:
> Is ProtoObject should implement #class?
> Can we move #class method from Object to ProtoObject?
>
>
ups....good catch! indeed, we should move it to ProtoObject.


>
> 2012/5/27 Stéphane Ducasse <[email protected]>
>
>> > > no, the other way around, now #class is NOT bytecoded, and therefore
>> is managed as a normal message send.
>> > >
>> > > That is much better. Thanks! I like progress even if it breaks old
>> code.
>> >
>> > :)
>> > But we always try to minimize else we would go much faster and btw
>> class should not break older code :)
>> >
>> > It did break Mocketry (http://www.squeaksource.com/Mocketry)
>> >
>> > Thank's for report.
>> > Try to fix it today.
>> > Now I dont know how #class message can broke something. When I found
>> answer I try to explain
>>
>> Thanks denis.
>> I'm curious too.
>>
>> Stef
>>
>
>


-- 
Mariano
http://marianopeck.wordpress.com

Reply via email to