Error not callable with argument types but types matches

Sliya via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 7 23:17:58 PST 2015


On Saturday, 7 November 2015 at 17:43:02 UTC, Adam D. Ruppe wrote:
> 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.

I am on Mac OS, but I still don't get it. If the import was not 
case-sensitive, I would not have any error since the good file 
would have been loaded... Here I have no error saying file not 
found yet the file is not loaded. I'd love to know what really 
happens.

But thanks !


More information about the Digitalmars-d-learn mailing list