Global immutable AA literals
H. S. Teoh
hsteoh at quickfur.ath.cx
Thu Jan 24 12:08:26 PST 2013
On Thu, Jan 24, 2013 at 09:00:55PM +0100, mist wrote:
> Thank you. So simple and so illogical. Looking at your example I
> have zero understanding why AA literals just do not work at
> compile-time just out of the box.
[...]
Because the current AA implementation sucks. You're welcome to try to
improve it. I've tried before, but it's non-trivial because it's
schizophrenically split across two places in druntime and sprinkled all
over the compiler. Good luck. Should you succeed, you will have done a
MAJOR favor to the entire D community (Andrei, for one, will be
eternally grateful).
T
--
"A man's wife has more power over him than the state has." -- Ralph Emerson
More information about the Digitalmars-d
mailing list