FogBugz (Case [Issue]11205) Spec - To:do: misoptimized when limit is changed in the optimized block

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]11205) Spec - To:do: misoptimized when limit is changed in the optimized block

Pharo Issue Tracker
A FogBugz case was opened by Clement Bera.

Case ID:      11205
Title:        To:do: misoptimized when limit is changed in the optimized block
Status:       Work Needed
Category:     Bug
Project:      Spec
Area:         Misc
Priority:     5 - Fix If Time
Milestone:    Later
Assigned To:  Everyone

URL:          https://pharo.fogbugz.com/default.asp?11205

To reproduce :

Foo>>todo
| foo |
foo :=  10.
1 to: foo do: [ :each |
foo := foo - 1.
each logCr. ]

This method miswork. (print from 1 to 10 instead of 1 to 6)

This is fixed in latest squeak seemingly. We could check to backport.


You are subscribed to this case.  If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=11205) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker