Re: [GHC] #4983: Warning about redundant import is wrong when hiding identifiers in order to avoid export ambiguities

#4983: Warning about redundant import is wrong when hiding identifiers in order to avoid export ambiguities -------------------------------------------------+------------------------- Reporter: Lemming | Owner: Type: bug | Status: Priority: normal | closed Component: Compiler | Milestone: Resolution: wontfix | Version: 7.0.1 Operating System: Unknown/Multiple | Keywords: Type of failure: Incorrect warning at | Architecture: compile-time | Unknown/Multiple Test Case: | Difficulty: Blocking: | Unknown | Blocked By: | Related Tickets: -------------------------------------------------+------------------------- Comment (by simonpj): What is wrong with saying {{{ import Prelude () }}} You say that "GHC is to blame here" but the warning is quite correct: you are using nothing from Prelude, right? Specifically, what behaviour would you actually like? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4983#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC