Timon Gehr wrote:
> Does
> 
> public import foo : bar;
> 
> work as expected with your pull request?

Yes. But it doesn't merge the symbol either, so if foo.bar is a function

a.d --
public import foo : bar;
void bar() {}

b.d --
import a;
// will only see the bar defined in a.d.

Maybe public selective imports should actually behave the same way as 
aliases? Alternatively it could be an error: "'bar' hides publicly imported 
symbol of the same name"

Reply via email to