Fix zonk_eq_types in TcCanonical
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 9 Jan 2017 14:58:02 +0000 (14:58 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 9 Jan 2017 14:58:02 +0000 (14:58 +0000)
commit7d2e5da61714025142f0085d5ae150a61e637a5e
tree3c52b9c98cb2745dabc87c28c41942dc48840938
parent6c869f906b879bc746ea1aa3e79e02f146d85093
Fix zonk_eq_types in TcCanonical

This fixes Trac #13083. An egregious bug.

Merge to the 8.0 branch
compiler/typecheck/TcCanonical.hs
testsuite/tests/typecheck/should_compile/T13083.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T
testsuite/tests/typecheck/should_fail/T3950.stderr