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

GHC cvs-ghc at haskell.org
Sat Nov 6 15:51:48 EDT 2010


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

 * cc: michal.terepeta@… (added)


Comment:

 Isn't this the whole point of `-fwarn-duplicate-exports`? As I understand
 it, the
 flag will make the compiler issue a warning when you export the same thing
 twice. Which is exactly what happens in your example. So I'm not sure
 where is
 the problem/bug here..

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


More information about the Glasgow-haskell-bugs mailing list