[Issue 3492] Can't overload nested functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 26 22:13:26 PST 2012


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



--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2012-02-26 22:13:25 PST ---
The reason is straightforward - there's no point to it. Nested functions tend
to be right next to where they are used. They're not off in a separate file.

We shouldn't have features just to have features. They have to have an
identifiable benefit. Overloaded functions introduce complexity both to the
user and the compiler - and there is no clear benefit for nested functions.

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