D-Programming-Language/dmd — pull request #675 by yebblies (2012-02-01 05:56:46+00:00)
Title: Issue 4923 - immutable module variables are modifiable in non-shared module constructors

Check that the right kind of module constructor is used to initialize globals. Improve error message.

Fixes Issue 4923

http://d.puremagic.com/issues/show_bug.cgi?id=4923