On 2/9/2012 11:37 AM, Sönke Ludwig wrote:
--- module a; private import std = b; --- --- module b; private import std.stdio; void f(){ std.stdio.writefln("X"); } // conflict ---So here the "b" import and its alias "std" in a is, or should be, private, as well as the std.stdio import in module b. I don't see why two private import statements should influence each other in an ideal world.
The example doesn't make sense. Where is module a imported by module b? _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
