[Issue 16428] Better error message for pattern matching of value template parameters
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Aug 25 08:39:37 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16428
--- Comment #3 from Andrei Alexandrescu <andrei at erdani.com> ---
The error message should be better. Currently:
static assert(is(A!(int, 42) == A!(T, x), __isexp_id52, T, x)) is false
Proposed:
static assert(is(A!(int, 42) == A!(T, x), T, x)) is false (did you mean "alias
x"?)
--
More information about the Digitalmars-d-bugs
mailing list