fix issue 10279 - Calling a typesafe variadic @trusted function from an
@safe function results in an error.
fix issue 10456 - struct containing enum X, alias X this and a dynamic
array no longer compiles since 2.063
Merge pull request #2168 from hpohl/10279

fix issue 10279 - Calling a typesafe variadic @trusted function from an @safe function results in an error.
Merge pull request #2255 from hpohl/10456

[REG2.063] fix issue 10456 - struct containing enum X, alias X this and a dynamic array no longer compiles since 2.063
fix issue 3096 - EnumBaseType
Merge pull request #2115 from hpohl/3096

fix issue 3096 - EnumBaseType
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