digitalmars.D.bugs - [Issue 1915] New: new struct destructor : ice dmd
- d-bugmail puremagic.com (28/28) Mar 12 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1915
- d-bugmail puremagic.com (11/11) Mar 29 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1915
http://d.puremagic.com/issues/show_bug.cgi?id=1915 Summary: new struct destructor : ice dmd Product: D Version: 2.012 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: major Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: spam extrawurst.org in dmd 2.012 this crashes the compiler after just adding an empty struct destructor, i really dont have a clue why: [CODE] module main; import std.math; struct Foo{ ~this(){} //comment out and it works as expected public int opCmp(Foo _a){return 0;} } void main(){ Foo[] m_imgs; auto res = std.algorithm.isSorted!("a > b")(m_imgs); } [/CODE] --
Mar 12 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1915 unknown simplemachines.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |unknown simplemachines.org Status|NEW |RESOLVED Resolution| |WORKSFORME Works for me in DMD 2.026, and D 1 doesn't allow struct destructors. -[Unknown] --
Mar 29 2009