[Issue 1526] New: Two conflict templates accepted
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 22 19:34:10 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1526
Summary: Two conflict templates accepted
Product: D
Version: unspecified
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: davidl at 126.com
template toString (U,C,T:U[C])
{
char[] toString(U m,C c, T t) { return ""; }
}
char[] toString()(int k){return "";}
void main()
{
toString!(int,char,int[char])(d,m,v);
toString(3);
}
--
More information about the Digitalmars-d-bugs
mailing list