[GHC] #8000: -ddump-minimal-imports should preserve imports of symbols in the export list

GHC ghc-devs at haskell.org
Thu Jun 20 22:59:26 CEST 2013


#8000: -ddump-minimal-imports should preserve imports of symbols in the export
list
-----------------------------+----------------------------------------------
Reporter:  dsf               |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.6.3             |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 Here is one more dump-minimal imports bug - for this module:
 {{{
 module Foo (dropWhile) where
 import Data.List (dropWhile)
 }}}
 ghc -ddump-minimal-imports outputs
 {{{
 import Data.List ()
 }}}
 but the original module needs the import of {{{dropWhile}}} to compile.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/8000>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list