June 29, 2004
Say i have file main.d that imports module m1. Such module exists and in turn imports some non existant module (say non.existant.module2).

Now lets try to compile main.d (ofcourse we will fail), but error message will be: "Error: Error reading file 'non\existant\module2.d'". You open main.d and see no references to such module, then you start browsing each imported module... now imagine big project where main.d imports 20 modules and you have no clue which one of them is the root of evil. Oh.. those modules may also import something.. Well, you got the idea..

Walter, can you please fix this error message so it points me directly to .d file that tries to import non-existant stuff?

Kris, can you please fix mango so that it does not give me such errors? <g> Thanks in advance.


June 30, 2004
quetzal wrote:
> Say i have file main.d that imports module m1. Such module exists and in turn
> imports some non existant module (say non.existant.module2).
> 
> Now lets try to compile main.d (ofcourse we will fail), but error message will
> be: "Error: Error reading file 'non\existant\module2.d'". You open main.d and
> see no references to such module, then you start browsing each imported
> module... now imagine big project where main.d imports 20 modules and you have
> no clue which one of them is the root of evil. Oh.. those modules may also
> import something.. Well, you got the idea..
> 
> Walter, can you please fix this error message so it points me directly to .d
> file that tries to import non-existant stuff?
> 

You can compile with the verbose flag (-v) to see which file is being parsed when the error occurs.