[Issue 11754] Disallow changing the default parameters of overridden inherited functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 19 14:14:48 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11754



--- Comment #2 from bearophile_hugs at eml.cc 2013-12-19 14:14:46 PST ---
(In reply to comment #1)
> What if the initializer in the base class is private?

After the restriction that I have suggested to add, you can't write that code.
You have to solve the problem in some other way. (Perhaps using an overloaded
method?)

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


More information about the Digitalmars-d-bugs mailing list