Selective and renamed imports
Jonathan M Davis
jmdavisProg at gmx.com
Sun Oct 16 18:46:11 PDT 2011
On Monday, October 17, 2011 00:17:56 Timon Gehr wrote:
> On 10/16/2011 12:08 PM, Christian Kamm wrote:
> > Does this work as you'd expect? Please write a short reply even if you
> > just agree. I hope the feedback will convince Walter to give this
> > serious consideration. You can also let me know that this is totally
> > bananas, of course.
> >
> > Regards,
> > Christian
>
> I agree. The current behavior is just useless, because it is never
> desirable or even acceptable to have implementation details leak into
> the public interface. Currently not even
>
> private import foo : bar;
>
> hides bar iirc.
That should be identical to
import foo : bar;
so if it one hid it and one didn't, that would _still_ be a problem.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list