Merge pull request #3780 from 9rnsr/fix13141

[REG2.066a] Issue 13141 - array cast from string[] to immutable(char[][]) is not supported at compile time
Merge pull request #3779 from 9rnsr/fix13142

Issue 13142 - Enums on different classes confuse the compiler