« Return to Thread: bug or misunderstanding?

Re: bug or misunderstanding?

by Lukas Renggli :: Rate this Message:

Reply to Author | View in Thread

>  Why is "holder" nil here?  I can see that my textinput callback is
>  called first.  Shouldn't both of the callbacks share the same
>  reference to "holder"?

This is a long standing bug of Squeak. Of course nobody cares to
integrate the existing fix, as it consists of more than two new
classes. The fix is called 'Closure Compiler' and existing, tested and
working for years.

Blocks are badly broken in Squeak.

Lukas

PS: As a workaround you can store your data within an inst-var, or if
you want to use a temp within a ValueHolder that you store in the
temp.

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 « Return to Thread: bug or misunderstanding?

LightInTheBox - Buy quality products at wholesale price