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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 26 23:05:50 PDT 2012


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



--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2012-04-26 23:06:52 PDT ---
Leaving this as-is for D1 to avoid breaking existing code.

For D2, changing behavior so that default args are part of the declaration, not
the type, and so both function calls in the example are illegal, since calling
through a function pointer now cannot have default args.

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