With AutoDeriveTypeable, derive for promoted constructors, too.
authorRichard Eisenberg <eir@cis.upenn.edu>
Fri, 4 Apr 2014 04:39:59 +0000 (00:39 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Fri, 4 Apr 2014 04:39:59 +0000 (00:39 -0400)
commite94ed11a09befd8a83e21b68cb3d492a6f7a8986
tree60ae4a97c2b557106517aa039f9a50ba1b1f4532
parent2033a5835c3cb14113ee2c63342ab9c820d1e3f1
With AutoDeriveTypeable, derive for promoted constructors, too.

This addresses #8950. However, the problem isn't completely solved,
because the Prelude types' Typeable instances are not created by
AutoDeriveTypeable.
compiler/typecheck/TcDeriv.lhs