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: nob...@puremagic.com
        ReportedBy: and...@metalanguage.com


--- Comment #0 from Andrei Alexandrescu <and...@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: -------

Reply via email to