AA char[] as key

bearophile bearophileHUGS at lycos.com
Tue Jan 3 17:48:47 PST 2012


Andrew Wiley:

> Some consequences of actually changing this:
> - This breaks D1 compatibility of AAs across the board because
> immutable simply didn't exist then

D1 compatibility will stop being a problem in some time :-)


> - Significant D2 code breakage as well

It's essentially wrong code, because you are declaring something you can't actually use, so "breaking it" is an improvement.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list