digitalmars.D.bugs - [Issue 4676] New: Overload resolution rejects valid code when mixing variadics, non-variadics
- d-bugmail puremagic.com (27/27) Aug 18 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4676
- d-bugmail puremagic.com (12/13) Aug 18 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4676
- d-bugmail puremagic.com (12/12) Aug 27 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4676
http://d.puremagic.com/issues/show_bug.cgi?id=4676 Summary: Overload resolution rejects valid code when mixing variadics, non-variadics Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dsimcha yahoo.com Possibly related to 4652. void doNothing(T...)(T args, string str) {} void doNothing(T...)(T args) {} void main() { doNothing(1, 2, 3); } test9.d(56): Error: template test9.doNothing(T...) doNothing(T...) matches more than one template declaration, test9.d(52):doNothing(T...) and test9.d(53):doNothing(T...) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 18 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4676 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.auPossibly related to 4652.Indeed it is. My patch for 4652 (which isn't complete, there's still cases it fails for) fixes this one as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 18 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4676 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 20:57:38 PDT --- http://www.dsource.org/projects/dmd/changeset/635 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 27 2010