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


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2011-09-23 21:15:55 
PDT ---
The simplest solution is to just make it so that it's illegal to declare an AA
with a key which isn't either a value type or immutable and make it so that
_all_ functions or operators which take the key must take a type which is
implicitly convertible to the key type (including its immutability). It _would_
break a fair bit of code though, I suspect. Still, it would be a fairly simple
change to make in any code that it breaks, and it could be grandfathered in by
making it a warning first.

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

Reply via email to