On Saturday, 16 August 2014 at 09:29:14 UTC, Johannes Pfau wrote:
I just had a look at this and ClassInfo has a mutable 'monitor' field,so it can't be placed into read-only data.
This was discussed at DConf 2014. https://www.youtube.com/watch?v=TNvUIWFy02I#t=1008
There is currently a pull request to remove the monitor from object field from object and therefore all classes: https://github.com/D-Programming-Language/druntime/pull/789.
Mike