digitalmars.D.bugs - [Issue 8710] New: std.typecons.Tuple and double declared nested struct crashes dmd
- d-bugmail puremagic.com (41/41) Sep 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8710
- d-bugmail puremagic.com (12/12) May 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8710
http://d.puremagic.com/issues/show_bug.cgi?id=8710 Summary: std.typecons.Tuple and double declared nested struct crashes dmd Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com Test case: ---- import std.typecons; void main() { { struct S {} } { struct S { bool opEquals(T)(T a) { return false; } } auto t1 = tuple(S.init); // crash dmd } } ---- Reduced test case doesn't crash dmd, but cause an ICE. struct Tuple(T...) { T field; } void main() { { struct S {} } { struct S { bool opEquals(T)(T a) { return false; } } auto t2 = Tuple!(S)(S.init); // ICE // assert struct.c(227) alignment > 0 && !(alignment & (alignment - 1)) } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 23 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8710 Maxim Fomin <maxim maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |maxim maxim-fomin.ru Resolution| |DUPLICATE --- *** This issue has been marked as a duplicate of issue 8612 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 06 2013