[Issue 9009] allow foreach without identifier

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 25 19:10:54 PDT 2013


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


Lionello Lunesu <lio+bugzilla at lunesu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lio+bugzilla at lunesu.com


--- Comment #6 from Lionello Lunesu <lio+bugzilla at lunesu.com> 2013-08-25 19:10:53 PDT ---
(In reply to comment #5)
> I'd vote for version without a semicolon:
> 
> 1. foreach (0 .. n)
> 2. foreach (range)

Yes, I'd prefer that too. It's what newbies would write. foreach(; ...) is just
too hard to explain to newcomers.t

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