[GHC] #4508: DeriveFoldable should not require DeriveFunctor

GHC cvs-ghc at haskell.org
Thu Nov 18 07:08:31 EST 2010


#4508: DeriveFoldable should not require DeriveFunctor
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |        Owner:  igloo                            
        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
---------------------------------+------------------------------------------
Changes (by simonpj):

  * owner:  => igloo


Comment:

 Good point.  Fixed by
 {{{
 Thu Nov 18 09:00:28 GMT 2010  simonpj at microsoft.com
   * Omit bogus test for -XDeriveFunctor

   It was duplicated in the case of 'deriving( Functor )'
   and wrong for 'deriving( Foldable )'

     M ./compiler/typecheck/TcDeriv.lhs -4 +1
 }}}
 Pls merge.

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


More information about the Glasgow-haskell-bugs mailing list