[Newbies] Re: Block and Closure

Markus Fritsche fritsche.markus at gmx.net
Wed Apr 15 09:30:44 UTC 2009


Lukas Renggli <renggli at gmail.com> wrote:

> Two common problems I observed are related to:

Interestingly, those problems do not arise if evaluated as a DoIt, but they
do come up in the Testcase in Pharo (latest patches from today).

I had three failing tests in ClosureTest, one test went green when I changed
& recompiled the method, two still failing. 

Does the Compiler treat methods and DoIts differently (apparently, it does,
and I guess there are good reasons not to optimize simpe DoIts). 



More information about the Beginners mailing list