[Issue 4028] delegates with differing default arguments lead to same template instantiation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 17 19:11:36 PDT 2010


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


Jonathan M Davis <jmdavisProg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmail.com


--- Comment #5 from Jonathan M Davis <jmdavisProg at gmail.com> 2010-08-17 19:11:33 PDT ---
Well, either they need to be separate or default parameters for function
pointers, delegates, and lambdas need to become errors. It seems like it might
be nice for them to be able to have default parameters, but the more I think
about it, the weirder it seems. I'm not quite sure why that would be all that
useful. It seems like it's trying to subvert the type of function by currying
it.

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


More information about the Digitalmars-d-bugs mailing list