← Back to index
|
Original Bugzilla link
Bug 1526 – Two conflict templates accepted
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2007-09-22T21:34:00Z
Last change time
2015-06-09T05:14:57Z
Assigned to
bugzilla
Creator
davidl
Comments
Comment #0
by davidl — 2007-09-22T21:34:09Z
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); }
Comment #1
by davidl — 2007-09-22T21:43:20Z
umm, it's invalid