Code behaves incorrectly if it is compiled in std.functional
via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 5 02:44:09 PDT 2015
On Friday, 5 June 2015 at 04:39:28 UTC, 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 don't think so. `auto` is a valid storage class like `const`,
`immutable` and `shared`.
More information about the Digitalmars-d
mailing list