Fix ASSERT failure in tc269
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 27 Jul 2017 13:47:07 +0000 (14:47 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 28 Jul 2017 08:31:55 +0000 (09:31 +0100)
commitb1317a35770b19838c7f6b07e794bfc61419e889
treeccb58f6f0c6aa4595e98f47de58399e21be738e0
parentaf6d225ffbeabbaffb68cdee4c377b0e361aad26
Fix ASSERT failure in tc269

This ASSERT failure (in substTy) was reported in Trac #14024.

This patch gets the in-scope set right.

(Does not fix tests T13822 or T13594.)
compiler/typecheck/TcCanonical.hs