On Friday, 20 November 2015 at 19:37:09 UTC, Nicolas F. wrote:
My suggestion is to have the compiler output a specific error message should it encounter "auto" inside a foreach declaration, pointing out that "auto" is neither needed nor allowed in this context to get type inference.

Sounds like a good idea! Please file an enhancement request on http://issues.dlang.org/

Reply via email to