digitalmars.D.bugs - [Issue 6462] New: mixin() should accept arrays of char, as well as string literals
- d-bugmail puremagic.com (24/24) Aug 10 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6462
- d-bugmail puremagic.com (12/12) Aug 10 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6462
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: nobody puremagic.com ReportedBy: clugdbug yahoo.com.au --- Comment #0 from Don <clugdbug 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: -------
Aug 10 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6462 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |DUPLICATE --- Comment #1 from yebblies <yebblies gmail.com> 2011-08-11 02:28:18 EST --- *** This issue has been marked as a duplicate of issue 2156 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 10 2011