Brad Roberts wrote: > Isn't this bug #314? Very well known, super old, highly voted for, etc, > etc.
No, bug 314 is about privately imported symbols being accessible even though they shouldn't be. This problem is about modules that aren't imported at all in a file or any of its imports still being accessible. Btw: I've updated my pull request to fix #314 to apply cleanly against the current dmd/master: https://github.com/D-Programming-Language/dmd/pull/190