dmd
dmd copied to clipboard
Redundant "cannot use array to initialize `_error_`" message when initializing invalid array
int[unknown] values = [1, 2, 3];
Compiler output:
test.d(1): Error: undefined identifier `unknown`
test.d(1): Error: cannot use array to initialize `_error_`
The second error is redundant, and I don't think users should ever see _error_ anyway.