Why the compiler dosen't enforce correct module declarations?

Manfred Nowak svv1999 at hotmail.com
Sat May 12 11:13:24 PDT 2007


Ary Manzana wrote

> In 
> http://www.digitalmars.com/d/module.html it states:

| 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.

Please read carefully.

-manfred 


More information about the Digitalmars-d-learn mailing list