bearophile wrote:
Walter Bright:Thank you for your answer.The error is not a mismatched file name, which is perfectly legitimate in D.Do you mean that in D it is OK to have a file named "foo.d" with inside it at the top written "module bar;" ?
Yes.
What's the rationale behind this? (I don't like this).
The flexibility comes in handy now and then.