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?

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
>

Reply via email to