Mantis - Squeak
Viewing Issue Advanced Details
7414 Compiler minor always 11-16-09 16:33 04-18-10 21:57
cwp  
laza  
normal  
closed trunk  
fixed  
none    
none trunk  
0007414: A copied block containing a return raises BlockCannotReturn
If a block containing a return is copied, it will raise BlockCannotReturn when it's evaluated, even if the home context is still on the stack.

Notes
(0013540)
laza   
03-10-10 08:32   
I can't reproduce this in trunk 9652. Has this been fixed or do you have a testcase at hand?
(0013548)
leves   
03-11-10 11:36   
I think it was fixed in Kernel-nice.300 by removing BlockClosure >> #postCopy.
The commit message is: Fix evaluation of Block copy in case of local return
(0013549)
laza   
03-11-10 14:49   
True, i also found the discussion about this