Unused variables and bugs

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 24 12:58:23 PDT 2014


On Sun, 24 Aug 2014 19:39:31 +0000
Idan Arye via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> 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.
ah, it's almost the same. easy deal. i updated my 'foreach patch', and
now it happily accepts `foreach(int; [1,2,3])`.
https://issues.dlang.org/show_bug.cgi?id=12488
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140824/ab88cd54/attachment.sig>


More information about the Digitalmars-d mailing list