On Mon, Apr 01, 2013 at 12:12:59AM +0000, commits@source.squeak.org wrote:
Eliot Miranda uploaded a new version of VMMaker to project VM Maker: http://source.squeak.org/VMMaker/VMMaker.oscog-eem.279.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.279 Author: eem Time: 31 March 2013, 5:12:29.172 pm UUID: 300e6a42-3856-465e-bd25-d3026399ab6c Ancestors: VMMaker.oscog-eem.278
Slang: Fix translation of to:by:do: loops so that the limit is not re-evaluated on each iteration if it may have side-effects.
Nice. I had to look twice to see what was "obviously wrong" about the original, so I'm sure it could have produced bugs that would be very hard to track down.
Dave
Oh, but the loop was also false in Squeak once, not only in slang. http://bugs.squeak.org/view.php?id=7093
Nicolas
2013/4/1 David T. Lewis lewis@mail.msen.com
On Mon, Apr 01, 2013 at 12:12:59AM +0000, commits@source.squeak.org wrote:
Eliot Miranda uploaded a new version of VMMaker to project VM Maker: http://source.squeak.org/VMMaker/VMMaker.oscog-eem.279.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.279 Author: eem Time: 31 March 2013, 5:12:29.172 pm UUID: 300e6a42-3856-465e-bd25-d3026399ab6c Ancestors: VMMaker.oscog-eem.278
Slang: Fix translation of to:by:do: loops so that the limit is not re-evaluated on each iteration if it may have side-effects.
Nice. I had to look twice to see what was "obviously wrong" about the original, so I'm sure it could have produced bugs that would be very hard to track down.
Dave
vm-dev@lists.squeakfoundation.org