dblack wrote:
…
Commit the fix, please.
Using the new version:
$ ./ruby -v
ruby 1.8.0 (2003-10-06) [i686-linux]
$ ./ruby -e ‘p [“a”].inject(“start”) {|x,y| “b”}’
“b”
$ ./ruby -e ‘p [“a”].inject(“start”) {|x,y| break “b”}’
“start”I’m still not understanding why these should be different, or how
“start” gets into the first one (the first block) at all.
Hm,
maybe the fix introduced the following behavior ?
(ruby -v == 1.8.0 (2003-10-08) [i386-mswin32])