Bug 20899 – Qualifiers on alias parameters inconsistency between built-in types and user defined types

Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-06-06T15:42:41Z
Last change time
2020-06-06T17:50:14Z
Assigned to
No Owner
Creator
John Colvin

Comments

Comment #0 by john.loughran.colvin — 2020-06-06T15:42:41Z
template X(alias A) { alias X = A; } struct S {} pragma(msg, X!(const(int))); // const(int) pragma(msg, X!(const(S))); // S
Comment #1 by john.loughran.colvin — 2020-06-06T15:43:06Z
Comment #2 by boris2.9 — 2020-06-06T17:50:14Z
*** This issue has been marked as a duplicate of issue 20863 ***