Compiler And Evaluate Block Bug?

R. A. Harmon harmonra at webname.com
Tue Dec 7 17:35:56 UTC 1999


Hi folks:

(Compiler evaluate: '[ :xxx | ^xxx].'
) value: 2

signals a block cannot return error exception*.


Compiler evaluate: '[ :xxx | ^xxx] value: 2.'

properly returns 2.

Is this a bug, an side affect that BlockContext is "a work in progress", or
am I just misunderstanding something?

* The block cannot return error exception doesn't have a defaultAction so
self subclassResponsibility in Exception >>#defaultAction is sent.

--
Richard A. Harmon          "The only good zombie is a dead zombie"
harmonra at webname.com           E. G. McCarthy
Spencer, Iowa





More information about the Squeak-dev mailing list