projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
b7a8d20
)
Fix Trac #1954: newtype deriving caused 'defined but not used' error
author
simonpj@microsoft.com
<unknown>
Tue, 9 Mar 2010 17:35:55 +0000
(17:35 +0000)
committer
simonpj@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