digitalmars.D.bugs - [Issue 441] 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=441
- d-bugmail puremagic.com (4/4) Oct 18 2006 http://d.puremagic.com/issues/show_bug.cgi?id=441
- Bruno Medeiros (6/16) Oct 19 2006 Now that's a duplicate... literally :P
- Frits van Bommel (2/17) Oct 19 2006 Most likely an accidental double "submit" click or something like that.
- d-bugmail puremagic.com (10/10) Nov 21 2006 http://d.puremagic.com/issues/show_bug.cgi?id=441
http://d.puremagic.com/issues/show_bug.cgi?id=441 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=441 *** Bug 442 has been marked as a duplicate of this bug. *** --
Oct 18 2006
d-bugmail puremagic.com wrote:http://d.puremagic.com/issues/show_bug.cgi?id=441 *** Bug 442 has been marked as a duplicate of this bug. ***Now that's a duplicate... literally :P I wonder how it happened, tough. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Oct 19 2006
Bruno Medeiros wrote:d-bugmail puremagic.com wrote:Most likely an accidental double "submit" click or something like that.http://d.puremagic.com/issues/show_bug.cgi?id=441 *** Bug 442 has been marked as a duplicate of this bug. ***Now that's a duplicate... literally :P I wonder how it happened, tough.
Oct 19 2006
http://d.puremagic.com/issues/show_bug.cgi?id=441 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME Works in DMD 0.174, producing the (correct) error message: test.d(12): Error: cannot infer type for i --
Nov 21 2006