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

           Summary: Associative array of associative arrays gets confused
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: and...@metalanguage.com


--- Comment #0 from Andrei Alexandrescu <and...@metalanguage.com> 2010-01-15 
11:14:20 PST ---
void main() {
    in[int][int] a;
    a[5] = (int[int]).init;
}

Error is:

/path/to/druntime/import/object.di(293): Error: cannot implicitly convert
expression (_D6object26__T16AssociativeArrayTiTiZ16AssociativeArray6__initZ) of
type AssociativeArray!(int,int) to int[int]

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

Reply via email to