Bug: compiler crash when using module name twice

Don nospam at nospam.com
Thu May 27 15:09:53 PDT 2010


Matthias wrote:
> I'm very new to D and misused the module identifier, I thought it would 
> be the namespace/package name.
> 
> The dmd compiler v2.046 produces correct output ("Error: module test 
> from file xxx.d conflicts with another module test from file yyy.d"), if 
> multiple placement of same module identifier are in the root of the 
> project, however it crashes, when the files are in a subfolder and does 
> not display a proper error message.

Ouch! I hate it when newbies hit compiler crashes.
I've created a bug report:
http://d.puremagic.com/issues/show_bug.cgi?id=4242

Hope to create a patch for it in the next few days.



More information about the Digitalmars-d mailing list