imports - 2 years later

Regan Heath regan at netwin.co.nz
Wed Mar 8 17:21:48 PST 2006


On Wed, 08 Mar 2006 19:35:22 +0000, Ant <duitoolkit at yahoo.ca> wrote:
> Walter, we still have:
>
> gtk/TextBuffer.d(88): import gtk.TextBuffer.std conflicts with  
> gtk.TextChildAnchor.std at gtk/TextChildAnchor.d(46)
> gtk/TextBuffer.d(88): import gtk.TextBuffer.std conflicts with  
> gtk.TextChildAnchor.std at gtk/TextChildAnchor.d(46)
> gtk/TextBuffer.d(88): import gtk.TextBuffer.std conflicts with  
> gtk.TextChildAnchor.std at gtk/TextChildAnchor.d(46)
> gtk/TextBuffer.d(88): import gtk.TextBuffer.std conflicts with  
> gtk.TextChildAnchor.std at gtk/TextChildAnchor.d(46)
> gtk/TextBuffer.d(88): import gtk.TextBuffer.std conflicts with  
> gtk.TextChildAnchor.std at gtk/TextChildAnchor.d(46)
> gtk/TextBuffer.d(88): import gtk.TextBuffer.std conflicts with  
> gtk.TextChildAnchor.std at gtk/TextChildAnchor.d(46)
>
>
> these are both private import std.string;
>
> the interesting thing is that I had a
> private import std.c.stdio;
> in one module that would supply std.string to a bunch of other modules
>
> well, I know you cannot do anything about this
> and I know I cannot reduce this problem... but it's better than 2 year  
> ago! :)

If you post the code here someone else might have a go at reducing it.

Regan



More information about the Digitalmars-d-bugs mailing list