[Issue 3707] New: comma-terminated array initializers not allowed with mixin
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 14 23:22:50 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3707
Summary: comma-terminated array initializers not allowed with
mixin
Product: D
Version: unspecified
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrei at metalanguage.com
--- Comment #0 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-01-14 23:22:48 PST ---
This works:
string[] stopwords = mixin("[" ~ `"a","b"` ~ "]");
This works too:
string[] stopwords = ["a","b",];
But this doesn't:
string[] stopwords = mixin("[" ~ `"a","b",` ~ "]");
--
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