#7710: AutoDeriveTypeable and synonyms
--------------------------------------+-------------------------------------
Reporter:  monoidal                   |          Owner:                  
    Type:  bug                        |         Status:  new             
Priority:  normal                     |      Component:  Compiler        
 Version:  7.7                        |       Keywords:                  
      Os:  Unknown/Multiple           |   Architecture:  Unknown/Multiple
 Failure:  GHC rejects valid program  |      Blockedby:                  
Blocking:                             |        Related:                  
--------------------------------------+-------------------------------------
 {{{
 {-# LANGUAGE AutoDeriveTypeable, DeriveDataTypeable, TypeSynonymInstances
 #-}
 type T = Int
 }}}

 reports duplicate instance for `Typeable Int` error. In my opinion type
 synonyms should be excluded from -XAutoDeriveTypeable.

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

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to