[project @ 2003-12-19 10:34:51 by simonpj]
---------------------------------------
Precise locations for duplicate imports
---------------------------------------
As a displacment activity I added reporting for duplicate imports
And more precise locations for the imports themselves. For example:
module T where
import Maybe (isJust,isJust)
import Maybe (isJust)
gives
Foo.hs:
Warning: `isJust' is imported more than once:
imported from Maybe at Foo.hs:4:16-21
imported from Maybe at Foo.hs:3:23-28
imported from Maybe at Foo.hs:3:16-21