[dmd-beta] Time for a new beta?

Christian Kamm kamm at incasoftware.de
Sun Aug 21 04:36:44 PDT 2011


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.


More information about the dmd-beta mailing list