[Issue 17503] is-expression pattern in static if matches too many types
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jun 14 09:36:37 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17503
ag0aep6g at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ag0aep6g at gmail.com
--- Comment #1 from ag0aep6g at gmail.com ---
Reduced:
----
struct Vector(T, int N) {}
static assert(!is(Vector!(int, 3) == Vector!(float, N), int N));
/* fails; should pass */
----
--
More information about the Digitalmars-d-bugs
mailing list