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

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=176

Andrei Alexandrescu  changed:

   What|Removed |Added

   Target Milestone|2.059   |---
Version|D1 & D2 |D2

--


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

2012-03-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Walter Bright  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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


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

2012-03-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176



--- Comment #12 from github-bugzi...@puremagic.com 2012-03-22 13:56:39 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b4803b2f262df4c9ee0d2d0d3613c60801687382
Fix issue 176 [module] message "module and package have the same name"

Generate a comprehensible error at a higher level (at the import statement).

https://github.com/D-Programming-Language/dmd/commit/82d5734ae09fec1a98edaf69ea731ebef905a9a8
Merge pull request #822 from donc/moduleAndPackageSameName

Bug 176. Error message "module and package have the same name"

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


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

2012-03-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Don  changed:

   What|Removed |Added

   Keywords||pull
 CC||clugd...@yahoo.com.au


--- Comment #11 from Don  2012-03-22 03:22:08 PDT ---
https://github.com/D-Programming-Language/dmd/pull/822

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


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

2012-01-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Jesse Phillips  changed:

   What|Removed |Added

 CC||jesse.k.phillip...@gmail.co
   ||m
   Target Milestone|--- |2.059


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


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

2011-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Bernard Helyer  changed:

   What|Removed |Added

 CC||blood.of.l...@gmail.com


--- Comment #10 from Bernard Helyer  2011-04-11 
05:45:41 PDT ---
This is an incredibly stupid message.

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


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

2010-11-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176



--- Comment #9 from Leandro Lucarella  2010-11-26 11:22:16 
PST ---
(In reply to comment #7)
> Just reproduced it now. I must've made a mistake earlier.

In the comments, you were compiling test2.d and the problem is when compiling
test.d, I guess that was the root of the confusion.

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


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

2010-11-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED
 AssignedTo|nob...@puremagic.com|bugzi...@digitalmars.com


--- Comment #8 from Andrei Alexandrescu  2010-11-26 
11:20:31 PST ---
Assigning to Walter.

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


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

2010-11-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176



--- Comment #7 from Andrei Alexandrescu  2010-11-26 
11:20:05 PST ---
Just reproduced it now. I must've made a mistake earlier.

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


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

2010-11-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Leandro Lucarella  changed:

   What|Removed |Added

Version|D1  |D1 & D2


--- Comment #6 from Leandro Lucarella  2010-11-26 11:14:17 
PST ---
Are you kidding me? :)

/tmp/dmd/dmd2$ ./linux/bin/dmd | head -n 1
Digital Mars D Compiler v2.050
/tmp/dmd/dmd2$ ./linux/bin/dmd -c test.d 
test.d: Error: module test2 module and package have the same name

Marked as D1 & D2.

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


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

2010-11-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Andrei Alexandrescu  changed:

   What|Removed |Added

Version|0.160   |D1


--- Comment #5 from Andrei Alexandrescu  2010-11-26 
11:04:30 PST ---
Marked issue as D1.

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


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

2010-11-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Leandro Lucarella  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


--- Comment #4 from Leandro Lucarella  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: ---


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

2010-11-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176


Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@metalanguage.com
 Resolution||FIXED


--- Comment #3 from Andrei Alexandrescu  2010-11-26 
10:26:37 PST ---
I cannot reproduce this on 2.065, so I assume it has been fixed. The errror
message is now:

test2.d: Error: module test2 from file test2.d conflicts with another module
test2 from file test.d

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


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

2009-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176



--- Comment #2 from Leandro Lucarella  2009-11-13 16:45:32 
PST ---
*** Issue 2338 has been marked as a duplicate of this issue. ***

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


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

2009-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=176



--- Comment #1 from Leandro Lucarella  2009-11-13 16:45:29 
PST ---
Copying the (duplicated) bug 2338 text because it has a better description of
the problem:

Frank Benoit  2008-09-06 10:40:04 PDT

 test.d ==
module test2;

import test2;

import test2.A; // (2) this wrong import can in another file

 test2.d ==
module test2;
==


If one of the compiled files has a wrong import like (2) it happens DMD is
pointing to a correct import or a simply wrong location:

test2.d(3): 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: ---