Fix Trac #1954: newtype deriving caused 'defined but not used' error
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
Please register or sign in to comment