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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrei Alexandrescu <[email protected]> 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: -------