#4478: Exporting the same entity twice should not be a warning
---------------------------------+------------------------------------------
    Reporter:  kosmikus          |        Owner:                                
   
        Type:  bug               |       Status:  new                           
   
    Priority:  normal            |    Milestone:                                
   
   Component:  Compiler          |      Version:  6.12.3                        
   
    Keywords:                    |     Testcase:                                
   
   Blockedby:                    |   Difficulty:                                
   
          Os:  Unknown/Multiple  |     Blocking:                                
   
Architecture:  Unknown/Multiple  |      Failure:  Incorrect warning at 
compile-time
---------------------------------+------------------------------------------

Comment(by igloo):

 I think we should warn about these three:
 {{{
 (foldr, foldr)
 (module Data.List, module Data.List)
 (Maybe(..), Just)
 }}}
 but not:
 {{{
 (module Prelude, module Data.List)
 }}}
 and I'm not sure about:
 {{{
 (foldr, module Data.List)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4478#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to