[Issue 23577] New: Multiple template arguments are matched to a single parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 24 08:04:08 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23577
Issue ID: 23577
Summary: Multiple template arguments are matched to a single
parameter
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: maxsamukha at gmail.com
This should pass:
struct S(A...)
{
}
static if (is(S!(int, bool) == S!A, A))
{
pragma(msg, A);
static assert(false);
}
Output:
int
onlineapp.d(9): Error: static assert: `false` is false
--
More information about the Digitalmars-d-bugs
mailing list