j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Ah, I see. The ensure context in `Context>>#runSimulated:contextAtEachStep:` incorrectly acts like `valueUninterruptably`, forcing a return from the home context even when the execution shall not continue. This was introduced to support situations like
```smalltalk [Context runSimulated: [2/0]] on: ZeroDivide do: [:ex | ex return: 1] ```
but when the execution is actually to abort, this behavior makes no sense. Hmm... maybe `ensure:` should have an `aborting` variable and cull it to aBlock? ;-) Or how else could we find out from within that specific ensure block that we must not try to proceed?
Attachments:
squeak-dev@lists.squeakfoundation.org