D-Programming-Language/dmd — pull request #1373 by 9rnsr (2012-12-13 15:47:30+00:00)
Title: Issue 9150 - Mismatching static array length should be detected in foreach

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

This is also a more general fix of [bug 3703](http://d.puremagic.com/issues/show_bug.cgi?id=3703).