[Issue 5953] Too many trailing commas are accepted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 8 03:43:52 PDT 2011


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



--- Comment #2 from bearophile_hugs at eml.cc 2011-05-08 03:39:56 PDT ---
(In reply to comment #1)
> Please don't use Python to say a D syntax is invalid. Use the D spec or TDPL.

I feel free to show what's the design of other languages, if they are a good
example.


> and an AssignExpression cannot be empty, so '[1,,]' should be rejected.

OK. So it's not a design problem, just an implementation issue.

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