October 18, 2006
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) {  }
}


-- 

October 18, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=442


braddr@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #1 from braddr@puremagic.com  2006-10-18 12:15 -------


*** This bug has been marked as a duplicate of 441 ***


--