Maintain in-scope set in deeply_instantiate (fixes #12549).
authorJohn Leo <leo@halfaya.org>
Fri, 2 Dec 2016 19:33:12 +0000 (14:33 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 2 Dec 2016 20:29:15 +0000 (15:29 -0500)
commit2350906bfb496758d81caf3b66b232e1950285e9
tree5fc018a3fcb3b61844524b05cdfe6f1a544578c2
parent895a131f6e56847d9ebca2e9bfe19a3189e49d72
Maintain in-scope set in deeply_instantiate (fixes #12549).

Maintain in-scope set in deeply_instantiate (Fixes T12549).

lint fixes

Test Plan: validate

Reviewers: simonpj, austin, goldfire, bgamari

Reviewed By: simonpj, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2757

GHC Trac Issues: #12549
compiler/typecheck/Inst.hs
compiler/typecheck/TcMType.hs
testsuite/tests/ghci/should_run/T12549.script [new file with mode: 0644]
testsuite/tests/ghci/should_run/T12549.stdout [new file with mode: 0644]
testsuite/tests/ghci/should_run/all.T