August 28, 2010 [Issue 2477] Trailing comma in array literal sometimes accepted, sometimes not | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2477 --- Comment #10 from Walter Bright <bugzilla@digitalmars.com> 2010-08-28 13:20:58 PDT --- A more comprehensive test case: void foo(T,)(T t) { T x; } void main() { int[] data = [1,2,3,]; data = [ 1,2,3, ]; auto i = data[1,]; foo!(int)(3); foo!(int,)(3); foo!(int,)(3,); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 28, 2010 [Issue 2477] Trailing comma in array literal sometimes accepted, sometimes not | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2477 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #11 from Walter Bright <bugzilla@digitalmars.com> 2010-08-28 13:41:10 PDT --- For D2: http://www.dsource.org/projects/dmd/changeset/644 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 28, 2010 [Issue 2477] Trailing comma in array literal sometimes accepted, sometimes not | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2477 --- Comment #12 from Walter Bright <bugzilla@digitalmars.com> 2010-08-28 13:51:24 PDT --- Phobos changeset 1939 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation