D-Programming-Language/dmd — pull request #977 by 9rnsr (2012-06-01 15:48:12+00:00)
Title: Issue 290,4510,5435 - Add strict type check for foreach argument

Issue 3290 - accepts-invalid: non-const by-ref foreach over a const array is accepted
Issue 4510 - [tdpl] ref with a wrong type specifier is accepted
Issue 5435 - Static foreach over tuple ignores type annotation