[GHC] #4478: Exporting the same entity twice should not be a warning

GHC cvs-ghc at haskell.org
Wed Nov 10 13:56:53 EST 2010


#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


More information about the Glasgow-haskell-bugs mailing list