echo 'import p.q.r;' > test.d mkdir -p p/q/r echo 'import p.q.r.m;' > p/q/r/package.d touch p/q/r/m.d Introduced in https://github.com/dlang/dmd/pull/5426.
*** This issue has been marked as a duplicate of issue 20151 ***