[Issue 24794] New: protected AND package?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 4 13:50:15 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24794
Issue ID: 24794
Summary: protected AND package?
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: turkeyman at gmail.com
I need to make some members `package`, but they are `protected` and need to
stay that way.
It seems a problem that protected and package are mutually exclusive...
What are we supposed to do?
In practise, most base class members are `protected`... but what's the point of
package if not to make them accessible to some related functionality? We can't
sacrifice the derived class access to those members :/
--
More information about the Digitalmars-d-bugs
mailing list