Pattern matching value template parameters

Meta via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 25 07:53:46 PDT 2016


On Thursday, 25 August 2016 at 14:35:06 UTC, Andrei Alexandrescu 
wrote:
> Does anyone have a workaround for 
> https://issues.dlang.org/show_bug.cgi?id=16428? Thanks! -- 
> Andrei

I don't get that error message, surprisingly. For your example 
code from that bug report, I get this error message using 2.071.1:

test.d(4): Error: static assert  (is(A!(int, 42) == A!(T, x), 
__isexp_id52, T, x)) is false

Which certainly looks like a bug to me.


More information about the Digitalmars-d mailing list