Mantis - Squeak
Viewing Issue Advanced Details
4636 Compiler block always 08-24-06 09:35 04-18-10 21:51
renggli  
laza  
normal  
closed  
fixed  
none    
none trunk  
0004636: Block arguments are shared across blocks
When defining multiple blocks with the same argument names they share the argument slots, leading to problems when the two blocks are concurrently activated from different threads. This is a critical show stopper especially for professional applications that use callback mechanisms using blocks (e.g. Seaside, PostgreSQL, ...).
Run the attached test-case.
 BlockContextTest-testTwoBlocks.st [^] (571 bytes) 08-24-06 09:35

Notes
(0013656)
laza   
04-08-10 12:12   
The test passes in a pre 4.1 trunk image