[Issue 3972] Regarding module with name different from its file name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 9 10:39:53 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3972



--- Comment #5 from bearophile_hugs at eml.cc 2010-04-09 10:39:50 PDT ---
In dmd 2.043 now compiling spam.d generates the error:

spam.d(3): Error: module bar from file foo.d conflicts with another module bar
from file foo.d

That's not a a good error message, I am not able to understand it.
A better error message is like the following pair:

spam.d(2): Error: module 'test' has mismatched file name 'spam.d'.
foo.d(2): Error: module 'bar' has mismatched file name 'foo.d'.

Note that they are two errors, because both modules have a wrong/mismatched
name.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list