Ali Çehreli:
> Could someone please verify whether the above is really necessary?

An initialization inside some runtime function/initializator is necessary 
unless the AA is an enum.


> Is it 
> actually a dmd bug that we need to use 'static this()' to initialize an 
> associative array?

According to the way D AAs are designed it's not a bug. But of course you can 
think of possible enhancements or changes to the design.

Bye,
bearophile

Reply via email to