[squeak-dev] Simulation discrepancy with #return:
Yoshiki Ohshima
Yoshiki.Ohshima at acm.org
Tue Mar 13 10:27:29 UTC 2012
Hello,
I noticed that step executing the following code in debugger yields
different results:
-------------------
test
3 < 4 ifTrue: [
thisContext return: 42].
^ 666.
-------------------
In the normal execution, you get 42 as expected, but if you debug it
and step execute, #return: does not actuall return and you get 666.
It appears that the primitive for #terminateTo: is the culprit...
-- Yoshiki
More information about the Squeak-dev
mailing list
|