December 24, 2022 [Issue 23577] New: Multiple template arguments are matched to a single parameter | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: maxsamukha@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 -- |
Copyright © 1999-2021 by the D Language Foundation