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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 17 04:23:05 PDT 2010


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



--- Comment #2 from bearophile_hugs at eml.cc 2010-03-17 04:23:03 PDT ---
Thank you.

Can the compiler complain in the other situation too? (I mean when no imports
are present, and your program is a file named "foo.d" with written "module
bar;" at the top?

If the mismatch name is an error when you import the module, then I think it
has to be an error in this case too.

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