> Walter:
>
> > > May I also ask, does the compiler and linker highlight the unused
> > > import to the user so that they can be removed from source code.
> >
> > This was discussed and we decided it was not a good idea for various 
> > reasons.
>
> Maybe we'll discuss about that again, because giving a help to remove unwanted
dependencies has its advantages.
>
> Bye,
> bearophile

I do not think this should be a compiler feature. It sounds like a task more
suitable for a source code analyzer.
Apart from that, if you need that functionality, you can easily write a small
script that comments out all imports in turn and tries to recompile.

Reply via email to