Over-zealous dup-import warning
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
Trac metadata
Trac field |
Value |
Version |
None |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
low |
Resolution |
ResolvedFixed |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|