std.Algebraic alias this

Radu via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 5 23:49:37 PDT 2015


On Tuesday, 6 October 2015 at 06:37:16 UTC, Nicholas Wilson wrote:
> On Monday, 5 October 2015 at 11:31:32 UTC, Radu wrote:
>> There is a weird rule on how compiler treats alias this for 
>> the N and S types bellow.
>>
>> [...]
>
> Please file a bug report.
>
> Also do the errors change if you reverse the order in T i.e. 
> alias T = Algebraic!(S,N); ?

OK, will do.

Nope alias T = Algebraic!(S,N) gives the same error. AllowedTypes 
are (string, N)

This happens in 2.068.2 btw


More information about the Digitalmars-d-learn mailing list