Ticket #324 (closed bug: Fixed)
Over-zealous dup-import warning
Description
Pointed out by John Meacham [john@repetae.net]
In 6.4 the duplicate import warning seems to be
triggered overzealously, even
when one import is qualified and the other isn't.
import qualified Data.Map
import Data.Map(Map)
foo :: Map Int Int
foo = Data.Map.empty
main = do
print foo
produces:
Foo.hs:1:0:
Warning: `Map' is imported more than once:
imported from Data.Map at Foo.hs:3:16-18
imported from Data.Map at Foo.hs:2:0-24
Change History
Note: See
TracTickets for help on using
tickets.
