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

           Summary: rehash AA property doesn't work with constant Tuple
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-10-02 
03:05:24 PDT ---
import std.typecons;

void main() 
{
    int[Tuple!(const int)] hash;
    hash.rehash;
}


D:\DMD\dmd2\windows\bin\..\..\src\druntime\import\object.di(521): Error: can
only initialize const member key inside constructor

This was found while trying to implement Issue 8743.

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

Reply via email to