Fix Trac #1954: newtype deriving caused 'defined but not used' error
authorsimonpj@microsoft.com <unknown>
Tue, 9 Mar 2010 17:35:55 +0000 (17:35 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 9 Mar 2010 17:35:55 +0000 (17:35 +0000)
We were getting a bogus claim that a newtype "data constructor" was
unused.  The fix is easy, although I had to add a field to the constructor
TcEnv.NewTypeDerived

See Note [Newtype deriving and unused constructors] in TcDeriv


No differences found