January 15, 2010 [Issue 3707] New: comma-terminated array initializers not allowed with mixin | ||||
---|---|---|---|---|
| ||||
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@puremagic.com ReportedBy: andrei@metalanguage.com --- Comment #0 from Andrei Alexandrescu <andrei@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: ------- |
June 13, 2011 [Issue 3707] comma-terminated array initializers not allowed with mixin | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | http://d.puremagic.com/issues/show_bug.cgi?id=3707 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies@gmail.com Platform|Other |All Version|2.038 |D1 OS/Version|Mac OS X |All --- Comment #1 from yebblies <yebblies@gmail.com> 2011-06-12 21:35:15 PDT --- This work correctly on D2, not on D1 -- 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