digitalmars.D.bugs - [Issue 442] New: Crash on foreach of mixed-in aggregate.
- d-bugmail puremagic.com (27/27) Oct 18 2006 http://d.puremagic.com/issues/show_bug.cgi?id=442
- d-bugmail puremagic.com (9/9) Oct 18 2006 http://d.puremagic.com/issues/show_bug.cgi?id=442
http://d.puremagic.com/issues/show_bug.cgi?id=442 Summary: Crash on foreach of mixed-in aggregate. Product: D Version: 0.171 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: brunodomedeiros+bugz gmail.com Crash on foreach of mixed-in aggregate (only if the mixin instance is named): ---- ---- template opHackedApply() { struct Iter { } } class Foo { mixin opHackedApply!() oldIterMix; } void main() { Foo f = new Foo; foreach (i; f.oldIterMix.Iter) { } } --
Oct 18 2006
http://d.puremagic.com/issues/show_bug.cgi?id=442 braddr puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE *** This bug has been marked as a duplicate of 441 *** --
Oct 18 2006