"The ModuleDeclaration sets the name of the module and what package it belongs to. If absent, the module name is taken to be the same name (stripped of path and extension) of the source file name." Marking as invalid, with the assumption that someone will come and verify. I did see a case where DMD accepts an invalid filename, but it's a separate issue. -[Unknown] --