Thread overview
[Issue 8746] New: rehash AA property doesn't work with constant Tuple
Oct 02, 2012
Andrej Mitrovic
Sep 17, 2013
Andrej Mitrovic
October 02, 2012
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: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@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: -------
August 17, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8746


hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx


--- Comment #1 from hsteoh@quickfur.ath.cx 2013-08-17 13:29:01 PDT ---
This no longer seems to happen on git HEAD. Has it been fixed?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 17, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8746


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-09-17 15:11:02 PDT ---
Works in 2.063.2.

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