https://issues.dlang.org/show_bug.cgi?id=17453
--- Comment #4 from Rainer Schuetze <r.sagita...@gmx.de> --- > when i create a project,has > myproject/core/exception.d directory and file hierarchy > and im write a module in a file like "module winmain;" > but i cant use any other like "module winmain.?" That's how the module system works (and the compiler complaining about misusage). You might want to check the language specifications, e.g. https://dlang.org/spec/module.html. Questions about it might be more appropriate on the forum: https://forum.dlang.org/group/learn --