[squeak-dev] in Random class #index inst var is shadowed in 3 methods

PAUL DEBRUICKER pdebruic at gmail.com
Thu May 12 03:51:25 UTC 2016

Would that change the behavior of the methods?  

It doesn't seem to as the tests pass if you rename the index temp vars to idx.

Why is that?



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Random.pad.1.cs
Type: application/octet-stream
Size: 1951 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160511/9e703850/Random.pad.1.obj

More information about the Squeak-dev mailing list