digitalmars.D.bugs - [Issue 20899] New: Qualifiers on alias parameters inconsistency
- d-bugmail puremagic.com (21/21) Jun 06 2020 https://issues.dlang.org/show_bug.cgi?id=20899
https://issues.dlang.org/show_bug.cgi?id=20899 Issue ID: 20899 Summary: Qualifiers on alias parameters inconsistency between built-in types and user defined types Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: john.loughran.colvin gmail.com template X(alias A) { alias X = A; } struct S {} pragma(msg, X!(const(int))); // const(int) pragma(msg, X!(const(S))); // S --
Jun 06 2020