[Issue 11733] Refuse int indexing of associative arrays with char keys

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 13 06:19:33 PST 2013


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|x86                         |All
         OS/Version|Windows                     |All
           Severity|minor                       |enhancement


--- Comment #3 from yebblies <yebblies at gmail.com> 2013-12-14 01:19:24 EST ---
There is no ambiguity anyway.  Asking for int not to convert to char is not
new, and I vaguely recall it was rejected on the grounds that char x = 'a'+7;
should work.  I don't if there is an existing report for that.

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


More information about the Digitalmars-d-bugs mailing list