https://d.puremagic.com/issues/show_bug.cgi?id=12264
Summary: [REG2.066a] A specialized alias parameter conflicts
with the unspecialized one.
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Kenji Hara <[email protected]> 2014-02-25 23:48:56 PST ---
Caused by fixing issue 12077.
Test case:
template X(alias T1) { pragma(msg, "1"); }
template X(alias T2 : B!A, alias B, A...) { pragma(msg, "2"); }
struct S(T) {}
void main()
{
alias x3 = X!(S!int);
// should prefer the second template
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------