Arrays of pointers to forward declared structs issue compile-time errors in dmd 1.053 (and possibly others). Code to reproduce this bug: struct Struct; void main() { Struct*[] arr; arr.length = 1; } Workabouts: Use an associative array. Declare struct as struct Struct {}; (might not be foolproof, but works for me)
Tested on git HEAD, Linux/64. Could not reproduce compile errors. Please reopen if the problem still exists on other platforms / test cases.