On Saturday, 7 November 2015 at 17:31:53 UTC, Sliya wrote:
I imported "Noise" instead of "noise". What I don't get is that I have no file named "Noise", so why doesn't the line import Noise; throws a compilation error ?

Are you on Windows? File loads there ignore case by name so the compiler tries to load "Noise.d" and Windows will let you open "noise.d" too.

To avoid this kind of thing, I always put a `module your.name;` at the top of every file so you get the name right there in the D language too.

Reply via email to