#4983: Warning about redundant import is wrong when hiding identifiers in order
to
avoid export ambiguities
------------------------------------------------+---------------------------
Reporter: Lemming | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.1
Resolution: wontfix | Keywords:
Testcase: | Blockedby:
Difficulty: | Os:
Unknown/Multiple
Blocking: | Architecture:
Unknown/Multiple
Failure: Incorrect warning at compile-time |
------------------------------------------------+---------------------------
Comment(by simonpj):
Well that would apply to any other redundant import too. I suppose we
could replace "The import of M is redundant" by "You imported M but used
nothing of it". Maybe that'd be an improvement, I'm not sure.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4983#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs