[FIX] Array and {} printing for self-evaluation ( [cd][er][su][et][sm] Reasonable change; may want to tweak )

tomkoenig at mindspring.com tomkoenig at mindspring.com
Tue Mar 1 02:10:54 CET 2005


inspected and tested in 3.9a#6590.  It works okay as shown:
#(nil $c) printOn: >> { nil . $c}   ok
{ nil . 2/3 . $c} printOn: >> { nil . (2/3) . $c} nice
(Array with: nil with: 2/3 with: $c) printOn: >> { nil . (2/3) . $c}
nice
However:
(Array with: 2 at 3 with: 2/3 with: 0.0001) printOn: { 2 at 3 . (2/3) .
0.0001} should probably { 2 at 3 . (2/3) . (0.0001)} since the other
doesn't evaluate the way I think you want it to.
Otherwise, this doesnt appear to break anything. None of the existing
sends to printOn; are sent to Array. 11 out of 187 printOn: message
sends are Sunit tests and they pass.  All Array sunit tests pass.


More information about the Squeak-harvest mailing list