[Issue 7850] Cannot call overloaded function from inherited class
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 7 12:26:14 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7850
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution| |INVALID
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2012-04-07 12:26:52 PDT ---
The name visibility rules follow that of C++ - names in the super class are not
visible if any by that name in the derived class exist. To overload them
together, add the line:
alias A.DoSomething DoSomething;
--
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