March 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7642

           Summary: opDispatch with AA crashes dmd
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: zan77137@nifty.com


--- Comment #0 from SHOO <zan77137@nifty.com> 2012-03-03 23:10:24 PST ---
This code crashes dmd:

struct Foo
{
    int[int] foo;
}

struct Bar
{
    Foo xxx;

    template opDispatch(string name)
    {
        @property auto ref opDispatch(this X, V)(auto ref V v) { return
mixin("xxx."~name~" = v"); }
    }
}

void main()
{
    Bar bar;

    bar.foo[0] = 0;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7642


Kenji Hara <k.hara.pg@gmail.com> changed:

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


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-03-04 00:37:32 PST ---
*** This issue has been marked as a duplicate of issue 7578 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------