[Issue 2563] Derived class is implicitly castable to Base class when inherited privately

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 30 07:29:03 PST 2012


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



--- Comment #8 from yebblies <yebblies at gmail.com> 2012-01-31 02:29:01 EST ---
(In reply to comment #7)
> But it hasn't actually _worked_ in D1 for some time, and the spec has never
> actually given its meaning.  As such, it would be to the point to just remove
> it from the grammar or at least issue a warning when one tries to use it.

Yes... I don't recall stating anything to the contrary.

If you thing the same fix (or a different fix) should be applied to D1 please
reopen the closed issue (or a new issue) with that information.  This bug is
about the protection issue.

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