On Saturday, 26 September 2020 at 13:45:21 UTC, Steven Schveighoffer wrote:
A selective import is equivalent to aliasing (to the public) the symbol as if it were defined in that scope.

You have to label it as private if you want it to be private.

Are you saying that I should write this in bar.d?

private import pack : Foo;

This still gives the same error.

Reply via email to