#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

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to