Segfault upon modifying immutable AA in static this

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 24 05:29:35 PST 2015


The issue originates from module level intialization of static 
immutable AAs at

https://github.com/nordlow/justd/blob/master/conv_ex.d

Do I have to change the initialization of the AAs to be 
explicitly inline at definition of the AAs or can I preserve my 
convenient foreach over the AAs in the `static this` to 
automatically get the integer value to be stored?

Note that this does not segdefault on latest stable DMD 2.066.


More information about the Digitalmars-d-learn mailing list