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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 19 06:07:58 PDT 2012


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



--- Comment #18 from dawg at dawgfoto.de 2012-06-19 06:10:15 PDT ---
>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