Remember to zonk when taking free variables in simpl_top
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 24 Dec 2012 09:46:55 +0000 (09:46 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 24 Dec 2012 09:46:55 +0000 (09:46 +0000)
commit1d07cc04ebcaa2df69824aeb1406557946e6dd19
treecd5ad91661b091a94fafae81f357edb8336eaf59
parente9e650dd08ad7d192f6e0225db7468faadf55c02
Remember to zonk when taking free variables in simpl_top

Forgetting this meant that we were upating the same
meta-tyvar twice.  Fixes Trac #7525.
compiler/typecheck/TcSMonad.lhs
compiler/typecheck/TcSimplify.lhs