D-Programming-Language/dmd — pull request #1033 by 9rnsr (2012-07-02 01:35:08+00:00)
Title: fix Issue 4090 - No foreach type inference with const, ref etc modifiers

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

Support storage classes `const`, `immutable`, `shared`, `inout` on foreach arguments.