AutoDeriveTypeable and synonyms
{-# LANGUAGE AutoDeriveTypeable, DeriveDataTypeable, TypeSynonymInstances #-}
type T = Int
reports duplicate instance for Typeable Int
error. In my opinion type synonyms should be excluded from -XAutoDeriveTypeable.
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |