digitalmars.D.bugs - [Issue 6601] New: Regression(2.053): CTFE segfault taking address of function template
- d-bugmail puremagic.com (31/31) Sep 04 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6601
- d-bugmail puremagic.com (13/13) Sep 05 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6601
http://d.puremagic.com/issues/show_bug.cgi?id=6601 Summary: Regression(2.053): CTFE segfault taking address of function template Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: clugdbug yahoo.com.au --- Comment #0 from Don <clugdbug yahoo.com.au> 2011-09-04 13:45:54 PDT --- Found in Phobos. It's crashing while printing an error message. Error message was printed correctly in 2.052 and earlier. ============ template curry(alias fun) { int curry(int arg) { return fun(arg, 5); } } void foo() { int f2(int a, int b) { return a + b; } enum xe = 5; enum fe = &curry!(f2); static assert(fe(6) == 11); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 04 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6601 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED --- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2011-09-05 00:21:23 PDT --- https://github.com/D-Programming-Language/dmd/commit/9777c79fc0ec5aa23011403e8e2a396805565fda https://github.com/D-Programming-Language/dmd/commit/edaf61a026bc5fbce61d47ba0d02cf43d65a326d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 05 2011