http://d.puremagic.com/issues/show_bug.cgi?id=6462
Summary: mixin() should accept arrays of char, as well as string literals Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don <clugd...@yahoo.com.au> 2011-08-10 02:52:19 PDT --- This test case comes from bug 6457. Not a regression, this has never worked. const char[] bug6462 = ['i','n','t',' ','a',';']; static assert(bug6462 == "int a;"); // OK mixin(bug6462); test3.d(3): Error: argument to mixin must be a string, not (['i','n','t',' ','a' ,';']) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------