[Issue 6253] Refuse definition too of impossible associative arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 18 05:11:09 PST 2012


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



--- Comment #3 from bearophile_hugs at eml.cc 2012-02-18 05:11:07 PST ---
A partially contrary point of view by Ben Davis:

> Static arrays have value semantics, so char[4] is no more mutable than
> int would be. So if I'm required to write
>
> Chunk[immutable(char[4])]
>
> then I should also be required to write
>
> Chunk[immutable(int)]
>
> which clearly isn't the case.

-- 
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