On Mon, Jul 18, 2011 at 12:11 PM, Sean P. DeNigris <sean@clipperadams.com>wrote:
Where is the code where class names actually get looked up?
In the compiler. What gets added to the method is the association for the variable. The push/store/pop literal variable bytecodes then indirect through the association to get and set its value inst var.
I put halts in Class>>bindingOf:, Class>>environment, and the SmalltalkImage>>at: methods, but nothing hit. Also, how would I have found this info for myself without asking on the list, since stepping into a debugger doesn't help?
Thanks. Sean
-- View this message in context: http://forum.world.st/Stubbing-class-side-methods-tp3674065p3676163.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
-- best, Eliot