switch to D-style array declarations

Needed for:

https://github.com/D-Programming-Language/dmd/pull/4021