-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submodules cannot access private members of parents #4536
Comments
Still reproduces:
|
looks like "just" a bug, de-milestoning |
hm. this is part of a pattern. re-milestoning and collecting into a metabug. |
Still reproduces:
Is this desired behavior? Should children be able to access its parent's privates? Should this extend to all ancestor modules? If so, it should be easy to fix I think. For each resolve that "fails" due to privacy, check if the module is a child of wherever it resolved to, and if so, don't actually fail the resolve. This happens in It shouldn't affect performance much, I don't think, especially since it's so rare (the error path is hit very rarely afaict). |
linking to #6143 for unified tracking of resolve |
Dup of #5238 |
The text was updated successfully, but these errors were encountered: