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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 16 05:25:17 PDT 2012


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



--- Comment #15 from Kenji Hara <k.hara.pg at gmail.com> 2012-06-16 05:27:32 PDT ---
(In reply to comment #13)
> If phase 3 will be accepted, I hope this syntax too will be accepted:
> 
> foreach (const i; 0 .. 10) {}

I think it should be allowed.

-- 
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