[GHC] #7710: AutoDeriveTypeable and synonyms
GHC
cvs-ghc at haskell.org
Wed Feb 20 18:15:20 CET 2013
#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
More information about the ghc-tickets
mailing list