November 11, 2003
Here's an example of a somewhat vague error message.

I've attached an example of this situation.

If two of the source files have "module package.mod1;" at the top (by accident, of course), the compiler gives a message:  "module mod1 is in multiple packages package.mod1".  It took me a while to figure out what this meant since I didn't realize that I labeled two modules the same thing.  I thought the problem was something else.

It would've been nice if the error message listed the files (e.g. package\mod1.d, package\mod2.d) that contain the repeated package.

Justin