[GHC] #5863: Deriving Typeable for data families

GHC cvs-ghc at haskell.org
Tue May 21 10:28:13 CEST 2013


#5863: Deriving Typeable for data families
---------------------------------+------------------------------------------
    Reporter:  simonpj           |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:  7.6.2           
   Component:  Compiler          |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by dreixel):

 We do allow (standalone) `deriving Typeable` for `T`, so I guess the way
 to fix this is to simply disable `deriving Typeable` for family instances.
 Unless we want to wait for #7897, of course.

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



More information about the ghc-tickets mailing list