[Issue 3866] anonymous delegate with default parameters cross-talks to another anonymous delegate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 25 20:34:28 PDT 2012


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2012-04-25 20:35:30 PDT ---
Moving the default arguments out of the type and into the function declaration
will resolve the problem, at the cost of you would no longer be able to have
default arguments for function literals or any pointers to functions.

Perhaps that's a good thing.

-- 
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