[Issue 1246] "module in multiple packages" error needs fixing

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 24 19:30:47 PDT 2007


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


wbaxter at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"module in multiple         |"module in multiple
                   |packages" error should say  |packages" error needs fixing
                   |which packages              |




------- Comment #1 from wbaxter at gmail.com  2007-05-24 21:30 -------
(In reply to comment #0)
> I find myself yet again facing the dreaded "module blah is in multiple packages
> blah" compiler error.  It would be a huge help in fixing these errors if the
> compiler actually said *which* packages it was talking about.

Even worse, in this case the problem turned out to be that I was doing 

   import Point3D;

when the module in file Point3d.d had 

   module Point3d;

So the error message "module is in multiple packages" is not even accurate.
Since it has to do with files and case, this could be a Windows specific
problem.


-- 



More information about the Digitalmars-d-bugs mailing list