Open LinqLover opened 3 years ago
By the way: When writing regression tests, also create a regression test for
[Simulator evaluate: [Error signal]] on: Error do: [#foo].
Here is a third one (not yet working):
(Context runSimulated: [self error]) on: Error do: [].
Minimal example:
Expected result: 42.
Actual result:
Error: Improper store into indexable object
The error is caused by the simulation of a failing primitive which is not possible at the moment because the primitiveFailToken is simulation-intransparent. This needs to be addressed and redesigned in Trunk. See: [squeak-dev] Re: Two new curious Context/primitive questions :-)