If I have two functions within nested modules: A.B.foo() A.C.foo() Why can't I refer to them using B.foo(); C.foo(); ?? DMD just complains about undefined identifiers B and C. The only way to refer to those is to fully qualify them: A.B.foo(); A.C.foo(); Is this a bug?