www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11589] New: [AA] Associative arrays should reject `const`/`immutable` classes as keys unless Issue 1824 is fixed

https://d.puremagic.com/issues/show_bug.cgi?id=11589

           Summary: [AA] Associative arrays should reject
                    `const`/`immutable` classes as keys unless Issue 1824
                    is fixed
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: verylonglogin.reg gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg gmail.com> 2013-11-24
12:21:04 MSK ---
Currently because of Issue 1824 `opEquals`, `opCmp`, and `toHash` aren't
`const` so associative arrays should reject `const`/`immutable` classes as keys
unless that issue is fixed.

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