On Sunday, 24 August 2014 at 02:23:11 UTC, ketmar via Digitalmars-d wrote:
On Sat, 23 Aug 2014 15:48:03 +0000
Idan Arye via Digitalmars-d <[email protected]> wrote:

How about unused arguments in lambda expressions?
also, make compiler accept 'auto' in lambdas. i'm sure it should. and it should accept 'auto' in foreach(). it should also allow foreach like
this: foreach (auto, auto; foo).

alas, seems that nobody is interested in this small improvements, and i myself neither know fronted internals enough, nor want to write this
anyway, 'cause patches will just rot in bugzilla.

Currenly foreach does not accept type-without-argument - `foreach(int; [1,2,3])` is a compiler error - so that's much bigger a change than adding argument-less type inference for lambdas.

Reply via email to