D-Programming-Language/dmd — pull request #3025 by yebblies (2013-12-25 16:06:48+00:00)
Title: [DDMD] Do not use array length trick

Remove code that looks like this: `sizeof(arr) / sizeof(arr[0])`

Obviously this doesn't work as-is in D, and the hack to support it is really really really really really really really ugly.

New code either uses a constant for the length, or a sentinel value.