D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20899 - Qualifiers on alias parameters inconsistency between built-in types and user defined types
Summary: Qualifiers on alias parameters inconsistency between built-in types and user ...
Status: RESOLVED DUPLICATE of issue 20863
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 major
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-06 15:42 UTC by John Colvin
Modified: 2020-06-06 17:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description John Colvin 2020-06-06 15:42:41 UTC
template X(alias A) {
    alias X = A;
}

struct S {}

pragma(msg, X!(const(int))); // const(int)
pragma(msg, X!(const(S))); // S
Comment 1 John Colvin 2020-06-06 15:43:06 UTC
Related: https://issues.dlang.org/show_bug.cgi?id=11480
Comment 2 Boris Carvajal 2020-06-06 17:50:14 UTC

*** This issue has been marked as a duplicate of issue 20863 ***