D-Programming-Language/dmd — pull request #679 by yebblies (2012-02-01 14:43:56+00:00)
Title: Issue 783 - Cannot use an array w/ const or variable index as new[] size argument.

The length is first parsed as an associate array type, so it needs to be reinterpreted as an expression.

http://d.puremagic.com/issues/show_bug.cgi?id=783