Denis Kudriashov wrote:
> 
> I think not.
> This way is substitution of method literal.
> 
> But "self sends" stubbing required anonimous subclass creation with
> required
> methods overrides.
> 

That sounds right. The bytecodes would be different if a self send was
rerouted to another object (pushLit: instead of self).

Sean

--
View this message in context: 
http://forum.world.st/Stubbing-class-side-methods-tp3674065p3678562.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to