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

           Summary: typeof( (string[string]).init)) ==
                    AssociativeArray!(string, string), doesn't implicitly
                    convert to string[string].
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: dsim...@yahoo.com


--- Comment #0 from David Simcha <dsim...@yahoo.com> 2009-11-09 08:29:51 PST ---
string[string][string] foo() {
    string[string][string] ret;
    ret["foo"] = (string[string]).init;
    return ret;
}

void main() {
    foo();
}


Error: cannot implicitly convert expression
(_D6object30__T16AssociativeArrayTAyaTAyaZ16AssociativeArray6__initZ) of type
AssociativeArray!(string,string) to string[string]

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

Reply via email to