
#9216: hiding imports doesn't seem to check if an import exists ------------------------------------------------+-------------------------- Reporter: flazz | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: invalid | Keywords: import Operating System: Unknown/Multiple | hiding Type of failure: GHC accepts invalid program | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Changes (by goldfire): * status: new => closed * resolution: => invalid Comment: This warning is reported by `-fwarn-dodgy-imports`. This is not considered an error, to aid in backward compatibility. In your example, one assumes that some past Prelude ''did'' export that symbol. Now that Prelude no longer does, it seems a little silly to stop your whole module from compiling. Thanks for reporting! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9216#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler