http://d.puremagic.com/issues/show_bug.cgi?id=4641

           Summary: Associative arrays of structs with alias this broken.
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: pelle.mans...@gmail.com


--- Comment #0 from Pelle M´┐Żnsson <pelle.mans...@gmail.com> 2010-08-13 13:43:42 
PDT ---
Code:
==========================================8<------------------------------------

struct S {
    int i;
    alias i this;
}

void main() {
    S[int] ss;
    ss[0] = S.init; // This line causes Range Violation.
}

------------------------------------>8==========================================

I am using DMD v2.048.

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

Reply via email to