gdc-0.19 violates D spec bahavior on module name case sensitivity
Anders F Björklund
afb at algonet.se
Tue Oct 17 03:13:42 PDT 2006
Wolfgang Draxinger wrote:
> [http://www.digitalmars.com/d/module.html]
>
>>By convention, package and module names are all lower case.
>>This is because those names have a one-to-one correspondence
>>with the operating system's directory and file names, and many
>>file systems are not case sensitive. All lower case package and
>>module names will minimize problems moving projects between
>>dissimilar file systems.
>
> Contrary to that GDC treats the import statement case sensitive.
> If GDC sees within a case sensitive file system multiple files,
> which names are ambigous if treated case insensitive it should
> omit an error, reporting where the ambigoutiy is.
Doesn't "names have a one-to-one correspondence with file names"
instead mean that the import statement *should* be case sensitive ?
--anders
More information about the D.gnu
mailing list