digitalmars.D.bugs - [Issue 1428] New: Segfault on template specialization with delegates and tuples
- d-bugmail puremagic.com (24/24) Aug 17 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1428
- d-bugmail puremagic.com (12/12) May 14 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1428
http://d.puremagic.com/issues/show_bug.cgi?id=1428 Summary: Segfault on template specialization with delegates and tuples Product: D Version: 2.003 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: reiner.pope gmail.com The following segfaults the compiler. If you remove the tuples, either specialisation, or do a number of other things, the problem disappears. template tuple(T...) { alias T tuple; } template Foo(S : void delegate(tuple!(int))) {} template Foo(S : void delegate(tuple!(int, int))) {} alias Foo!(void delegate(int)) Bar; --
Aug 17 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1428 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug yahoo.com.au Resolution| |FIXED --- Comment #1 from Don <clugdbug yahoo.com.au> 2009-05-14 06:43:52 PDT --- Fixed DMD2.030 and 1.045. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 14 2009