On Tuesday, 19 August 2014 at 17:11:19 UTC, Dicebot wrote:
Any specific ideas? I can't imagine any clean solution - and proposed language extensions fits naturally into existing system without introducing any new concepts. It is also somewhat frequently asked about in NG.
--- module std.internal.mod1; package(std) void foo() {} module std.mod2; import std.internal.mod2; void bar() { foo(); } --- Isn't it equivalent to --- module std.internal_mod1; package void foo() {} module std.mod2; import std.internal_mod1; void bar() { foo(); } ---