digitalmars.D.bugs - [Issue 3615] New: returning .idup of local static array doesn't work in ctfe
- d-bugmail puremagic.com (25/25) Dec 14 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3615
- d-bugmail puremagic.com (10/10) Dec 28 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3615
- d-bugmail puremagic.com (11/11) Jan 01 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3615
http://d.puremagic.com/issues/show_bug.cgi?id=3615 Summary: returning .idup of local static array doesn't work in ctfe Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: lutger.blijdestijn gmail.com PST --- string foo() { char[1] d; d[0] = 'd'; return d.idup; } pragma(msg, foo()); // "Error: cannot evaluate foo() at compile time" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 14 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3615 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.au This is fixed in DMD2 svn 317 or earlier. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 28 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3615 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed DMD2.038. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 01 2010