Hello Walter,

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.


For example, having foo_linux.d and foo_win.d both claiming to be foo.


--
... <IXOYE><



Reply via email to