id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
3420	Missing warning on duplicate import	NeilMitchell		"The following program does not give a warning:

{{{
{-# OPTIONS_GHC -Wall #-}
import Data.List
import Data.List

main :: IO ()
main = print $ sort ""hello""
}}}

But this program does:

{{{
{-# OPTIONS_GHC -Wall #-}

import Data.List(sort)
import Data.List

main :: IO ()
main = print $ sort ""hello""
}}}

with:

{{{
    Warning: Redundant import of: `sort'
             It is also imported from Data.List at Test.hs:4:0-15
}}}

It seems surprising that 100% identical imports aren't given as warnings, as in the first example."	bug	closed	normal		Compiler	6.10.4	fixed		ndmitchell@…	Unknown/Multiple	Unknown/Multiple		Unknown				
