[Pharo-dev] When code performs super...

2014-02-03 Thread Norbert Hartl
I just wanna share my newest finding in producing endless loops. foo super perform: #foo Somehow I like it! :) Norbert

Re: [Pharo-dev] When code performs super...

2014-02-03 Thread Benjamin
On 03 Feb 2014, at 16:26, Norbert Hartl norb...@hartl.name wrote: I just wanna share my newest finding in producing endless loops. foo super perform: #foo Somehow I like it! :) Should confuse a lot of JAVA-ist :P Ben

Re: [Pharo-dev] When code performs super...

2014-02-03 Thread Clément Bera
Right, that's why there's #perform:withArguments:inSuperclass: . Amazingly, #perform:withArguments:inSuperclass: works only if the superclass is in the lookup chain but does not necessarily requires the direct superclass. Let's say A inherits from B inherits from C. Afoo ^ #c Bfoo ^ #b