On Saturday, 2 September 2017 at 20:03:48 UTC, Jean-Louis Leroy wrote: > jll at ORAC:~/dev/d/tests/modules$ tree > . > ├── foo > │ └── bar.d > └── foo.d I think that shouldn't be allowed. You have a package foo, but use a normal module instead of foo/package.d. I'm going to file a bug on that.