[Issue 14275] Qualified package protection for aggregate member doesn't work
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 10 18:15:16 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14275
--- Comment #1 from Dicebot <public at dicebot.lv> ---
Bug is in usage of this access.c function:
265 /****************************************
266 * Determine if scope sc has package level access to s.
267 */
268 bool hasPackageAccess(Scope *sc, Dsymbol *s)
It is getting called for aggregate symbol too, even if it is public itself,
assuming package protection.
PR incoming.
--
More information about the Digitalmars-d-bugs
mailing list