Code behaves incorrectly if it is compiled in std.functional

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 4 21:40:55 PDT 2015


On Fri, 05 Jun 2015 04:39:28 +0000, ketmar wrote:

> On Fri, 05 Jun 2015 03:56:05 +0000, anonymous wrote:
> 
>> On Friday, 5 June 2015 at 03:45:18 UTC, ketmar wrote:
>>> `auto int a`?! it shouldn't be accepted at all!
>> 
>> Yeah, but it's the same with "auto ref".
> 
> `auto ref` has a well-defined meaning. yet `auto int` is nonsence. it's
> definitely a compiler bug. ;-)

i mean "there are at least two different things in that code, and they 
triggers two different compiler bugs".
-------------- 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/20150605/34ff4569/attachment.sig>


More information about the Digitalmars-d mailing list