Add a missing zonk in TcDerivInfer.simplifyDeriv
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 11 Oct 2017 15:17:41 +0000 (16:17 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 11 Oct 2017 15:17:41 +0000 (16:17 +0100)
commit13fdca3d174ff15ac347c5db78370f457a3013ee
treed722a90609f17f1c819fbdaa1c870928b232d226
parent4bb54a4522d44a81b2c47233f48252bd73c38279
Add a missing zonk in TcDerivInfer.simplifyDeriv

I'm astonished that anything worked without this!

Fixes Trac #14339
compiler/typecheck/TcDerivInfer.hs
testsuite/tests/deriving/should_compile/T14339.hs [new file with mode: 0644]
testsuite/tests/deriving/should_compile/all.T