https://issues.dlang.org/show_bug.cgi?id=5207

--- Comment #9 from RazvanN <razvan.nitu1...@gmail.com> ---
Thinking more about this, isn't the idea of module constructors to not type
check qualifiers because it is considered that they are used to initialize data
before the program is actually run? For example, this works:

immutable int a;

shared static this()
{
    a = 2;
    a = 3;
}

I guess this should be documented.

--

Reply via email to