Why the compiler dosen't enforce correct module declarations?

Ary Manzana ary at esperanto.org.ar
Sat May 12 11:03:48 PDT 2007


Manfred Nowak escribió:
> 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.

So what's the point of settings a package and module name different than 
what's in the filesystem?


More information about the Digitalmars-d-learn mailing list