http://d.puremagic.com/issues/show_bug.cgi?id=8532
Summary: Pure Segfault
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Daniel <[email protected]> 2012-08-10 03:44:26 PDT ---
auto sum(Y, R ...)(R r, Y val) pure { return sum(r, val); } // segfault
//auto sum(Y, R ...)(R r, Y val) { return sum(r, val); } // no segfault, just
an error, as it should
void main() { sum(1, 2, 3); }
I first noticed this in 2.059, it remained to 2.060.
http://dpaste.dzfl.pl/74702d88
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------