Andrei Alexandrescu <[email protected]> wrote:
Having a module and a package with the same name does not currently work, and I don't think there's a good rationale for that limitation.
//////////////
module a;
public import a.b;
struct b {
static int c;
}
//////////////
module a.b;
int c;
//////////////
module foo;
import a;
a.b.c = 3; // Where's you lookup rules now?
--
Simen
