[Issue 6652] foreach parameter with number range is always ref

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 21 08:30:33 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=6652



--- Comment #19 from Kenji Hara <k.hara.pg at gmail.com> 2012-06-21 08:32:51 PDT ---
(In reply to comment #18)
> >How about?
> Sounds great. It doesn't break code and allows us to fix this finally.
> 
> >foreach (i, item; array)
> Yeah, it should apply to the index variable as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list