Weird template instantiation problem

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 13 04:42:18 PDT 2017


On 6/12/17 11:31 AM, Arafel wrote:

> As you can see, the only change is the type the function returns, but I
> don't see how it should make any difference.
>
> Also, changing from "enum" to "static immutable", or even removing the
> "enum" and directly embedding the function literal doesn't seem to make
> any difference.
>
> Any ideas on what might be going on??

Looks like a bug to me. Please file.

-Steve


More information about the Digitalmars-d-learn mailing list