std.traits functions causing the compiler to crash

Eric eric at makechip.com
Fri Jun 7 21:52:49 PDT 2013


On Saturday, 8 June 2013 at 02:32:57 UTC, bearophile wrote:
> Eric:
>
>> Yes, the template constraint is much better.  However, the 
>> compiler still crashes, even with the new code:
>
> Because there's a type definition loop, regardless. Using a 
> constraint doesn't change that situation.
>
> Bye,
> bearophile

How is there a type definition loop?  I'm just trying to constrain
the interface.  At a minimum this should be a compiler bug, but
I would hope that dimple constraints would work.

-Eric


More information about the Digitalmars-d-learn mailing list