http://d.puremagic.com/issues/show_bug.cgi?id=3576


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzi...@digitalmars.com
         Resolution|                            |WONTFIX


--- Comment #1 from Walter Bright <bugzi...@digitalmars.com> 2009-12-06 
03:08:42 PST ---
I know there was this change, but before it was a bit erratic what it did. I'll
argue that the compiler is correctly saying it's an error.

Code can decide to do template function type inference, or overloading, but not
both at the same time. By not specifying enough in the specialization, then
inference rules are applied.

Trying to do both inference and overloading results in a complicated morass.
Better to leave it an error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to