Bug 24794 – protected AND package?

Status
NEW
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-10-04T13:50:15Z
Last change time
2024-12-13T19:37:49Z
Assigned to
No Owner
Creator
Manu
Moved to GitHub: dmd#20525 →

Comments

Comment #0 by turkeyman — 2024-10-04T13:50:15Z
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 :/
Comment #1 by robert.schadek — 2024-12-13T19:37:49Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20525 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB