On Sunday 21 August 2011 10:36 Jonathan M Davis wrote:
> But it's worse that it creating a public alias. A don't believe that a
> public alias will conflict with what it's an alias for. However, selective
> imports currently create whole new symbols, so they _do_ conflict.
> Hopefully, the issue gets fixed soon.

Selective imports just generate alias declarations, so there's really no 
behavior difference between the two. And alias declarations don't even store 
the scope's protection, so protection attributes have no effect on them.

You'll get the same error message as in
http://d.puremagic.com/issues/show_bug.cgi?id=5161
if you used a static import and manually aliased b.B to B.
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to