https://issues.dlang.org/show_bug.cgi?id=18403
--- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/af5694e44f574008b00a2eb8ccb79d46ca3f9485 fix issue 18403 - [REG2.078.2] Access violation when dmd tries to print highlighted code (#7859) ... by moving the array declaration before the static constructor. This is a workaround for issue 18412 - [REG2.077.0] immutable array in library becomes null when referenced in static constructor. --