import issue (i think)

Johan Granberg lijat.meREM at OVEgmail.com
Mon Jun 19 08:57:03 PDT 2006


Derek Parnell wrote:
> There is no easy way to find the line of code that is causing this 
> problem. The error message is totally useless because it gives a lot of 
> detail which is misleading or not relevant. Anyhow, the problem you have 
> got is that somewhere in your code, probably in 'input.d' you have a 
> qualified reference to a function but haven't explicitly imported that 
> module, but you have imported two other modules (sdl.main.std and 
> sige.string.std) that have imported that module. This can probably 
> happen under a number of circumstances, but one example is ...
> 
>  import foo;
>  import bar;
>  . . .
>      x = abc.def.func();
> 
> In this case, the coder has qualified 'func' with 'abc.def.' but has not 
> imported that module, and both foo.d and bar.d have directly or 
> indirectly imported 'abc.<something>'.
> 
> 
> --Derek Parnell
> Melbourne, Australia

thanks this fixed it.

ps. Walter please fix the import issues.



More information about the Digitalmars-d mailing list