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

           Summary: Access violation with .byValue of an empty associative
                    array
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2012-01-17 16:57:36 PST ---
With DMD 2.058head this program gives a Access Violation, but I think this
"vals" should just be an empty range:


void main() {
    int[int] aa;
    auto vals = aa.byValue;
    auto ks = aa.byKey;
}

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

Reply via email to