Use the right in-scope set
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 5 Jan 2017 17:39:08 +0000 (17:39 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 6 Jan 2017 09:36:20 +0000 (09:36 +0000)
commite6aefd6e07ef04d068d727490c640c68c82e4954
tree6c02214b0c13aa04a6381c6b6e06ea76d5d2939a
parent5f91ac89a38eb128d374a04c741bbd81c41fed37
Use the right in-scope set

I tripped over these calls to substTyWith that didn't obey the
precondition about in-scope variables.  Easily fixed, happily.
compiler/coreSyn/CoreLint.hs