diff options
author | Bartosz Nitka <niteria@gmail.com> | 2016-01-26 11:26:06 -0800 |
---|---|---|
committer | Bartosz Nitka <niteria@gmail.com> | 2016-01-26 11:29:15 -0800 |
commit | 144ddb414a8a4f40df1ad9ab27fcdf38f30db4d3 (patch) | |
tree | 9cbb9a06a085a3e77997dc19a86ac5eb519250ca /docs/backpack/algorithm.tex | |
parent | 6817703b31840620cca8596ca62ed70633934972 (diff) | |
download | haskell-144ddb414a8a4f40df1ad9ab27fcdf38f30db4d3.tar.gz |
Construct in_scope set in mkTopTCvSubst
The pre-condition on `mkTopTCvSubst` turned out to be wrong and
not satisfied by any of the callers. I've fixed it, so that it
constructs the in_scope set from the range of the substitution.
`mkTopTCvSubst` was also unnecessarily general it is never called
with `CoVars`, so I changed the type signature and added an assertion.
Test Plan: ./validate --slow
Reviewers: goldfire, simonpj, bgamari, austin
Reviewed By: simonpj
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1801
GHC Trac Issues: #11371
Diffstat (limited to 'docs/backpack/algorithm.tex')
0 files changed, 0 insertions, 0 deletions