[GHC] #8000: -ddump-minimal-imports should preserve imports of Prelude when -XNoImplicitPrelude is enabled (was: -ddump-minimal-imports should preserve imports of symbols in the export list)
GHC
ghc-devs at haskell.org
Sat Jun 22 18:16:21 CEST 2013
#8000: -ddump-minimal-imports should preserve imports of Prelude when
-XNoImplicitPrelude is enabled
-------------------------------+--------------------------------------------
Reporter: dsf | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Changes (by dsf):
* status: closed => new
* resolution: invalid =>
Comment:
I've changed the summary to reflect what I *really* meant to say, though a
new ticket might make more sense. In an update of the original example,
{{{
{-# LANGUAGE NoImplicitPrelude #-}
module Foo (dropWhile) where
import Prelude (dropWhile)
}}}
The resulting .imports file is empty, but due to {{{NoImplicitImports}}}
we actually need the {{{import Prelude (dropWhile)}}}
It seems to me this issue was raised when Fay encountered problems using
NoImplicitPrelude, but I can't find a ticket.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/8000#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list