[FIX] BlockCannotReturnFixes-JW

jwelton at pacific.mps.ohio-state.edu jwelton at pacific.mps.ohio-state.edu
Thu May 17 12:15:16 UTC 2001


from preamble:

"Change Set:		BlockCannotReturnFixes-JW
Date:			17 May 2001
Author:			Jesse Welton

BlockCannotReturn>>defaultAction called Exception>>defaultAction through
a super call, which in turn called #subclassResponsibility, resulting in
an incorrect error message.  Fix: reparent BlockCannotReturn as a
subclass of Error (which it really should be anyway).

ScorePlayerMorph>>showResumeButtonInTheWorld and
InternalThreadNavigationMorph>>triggerActionFromPianoRoll called
#addDeferredUIMessage: with a block including a return, resulting in a
BlockCannotReturn error under certain conditions.  Fix: rewrite the
blocks to simply fall through in these conditions."
!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BlockCannotReturnFixes-JW.cs.gz
Type: application/octet-stream
Size: 787 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010517/41118cc2/BlockCannotReturnFixes-JW.cs.obj


More information about the Squeak-dev mailing list