[Issue 8746] New: rehash AA property doesn't work with constant Tuple
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 2 03:05:10 PDT 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 at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at 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: -------
More information about the Digitalmars-d-bugs
mailing list