digitalmars.D.bugs - [Issue 6341] New: Segfault with variadic delegate parameter
- d-bugmail puremagic.com (25/25) Jul 17 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6341
- d-bugmail puremagic.com (6/6) Jul 31 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6341
- d-bugmail puremagic.com (16/16) Jul 31 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6341
- d-bugmail puremagic.com (11/11) Aug 24 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6341
http://d.puremagic.com/issues/show_bug.cgi?id=6341 Summary: Segfault with variadic delegate parameter Product: D Version: D1 & D2 Platform: Other OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: robert octarineparrot.com 22:17:36 BST --- When using dmd 2.054 the following fails with a bus error on OS X and a segfault on linux: ---- void print(void delegate(string...) dg) { dg(); } ---- This worked as expected in dmd 2.053. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 17 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6341 15:18:48 BST --- Note that this happens regardless of the number of arguments when calling dg(). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 31 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6341 15:26:40 BST --- This hack works as a workaround: ---- void print(void delegate(string) _dg) { void dg(string a...) { _dg(a); } dg(); } ---- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 31 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6341 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 6351 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 24 2011