[Issue 176] [module] message "module and package have the same name"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 26 10:52:15 PST 2010


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


Leandro Lucarella <llucax at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #4 from Leandro Lucarella <llucax at gmail.com> 2010-11-26 10:50:51 PST ---
/tmp/dmd/dmd$ ./linux/bin/dmd | head -n 1
Digital Mars D Compiler v1.065
/tmp/dmd/dmd$ cat test.d
module test2;

import test2;

import test2.A; // (2) this wrong import can in another file
/tmp/dmd/dmd$ cat test2.d
module test2;
/tmp/dmd/dmd$ ./linux/bin/dmd -c test.d
test.d: Error: module test2 module and package have the same 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