https://issues.dlang.org/show_bug.cgi?id=14275

--- Comment #1 from Dicebot <pub...@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.

--

Reply via email to