Mantis - Squeak
Viewing Issue Advanced Details
7394 System minor always 09-06-09 17:51 04-18-10 22:05
leves  
nicolas cellier  
normal  
closed trunk  
fixed  
none    
none trunk  
0007394: MessageTally doesn't work with BlockClosures
MessageTally >> #spyEvery:on: raises an error if it's second parameter (aBlock) is not a BlockContext. A general solution would be to change the line:
(aBlock isMemberOf: BlockContext)
with:
aBlock isBlock
Or replace BlockContext with BlockClosure, though it's not backwards compatible.

Notes
(0013302)
leves   
09-12-09 23:54   
Fixed in source.squeak.org/trunk/System-cbc.146 with the #isBlock version.