On 21. 12. 2011 14:22, so wrote:
Supporting module nesting in single file wouldn't hurt, would it?module main; module nested { }
Kind of... template MyNamespaceImpl () { int i; } alias MyNamespaceImpl!() MyNamespace; void main () { MyNamespace.i = 1; with (MyNamespace) { i = 2; } writeln(MyNamespace.i); readln(); }