bearophile wrote:
In the situation I've shown in 3972 a better error message is the two error messages (or something similar):spam.d(2): Error: module 'test' has mismatched file name 'spam.d'. foo.d(2): Error: module 'bar' has mismatched file name 'foo.d'.
The error is not a mismatched file name, which is perfectly legitimate in D. The error is two different files have the same module name.
