#11371: Bogus in-scope set in substitutions -------------------------------------+------------------------------------- Reporter: simonpj | Owner: niteria Type: bug | Status: new Priority: high | Milestone: 8.2.1 Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11360 | Differential Rev(s): phab:D1792, Wiki Page: | phab:D1801, phab:D1802 -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"4a93e4f9a86a62d1cdf2e666f977b8b58e61eaaf/ghc" 4a93e4f9/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="4a93e4f9a86a62d1cdf2e666f977b8b58e61eaaf" Use the correct substitution in lintCoercion We need the free vars of `t2` to satisfy the substitution invariant. Luckily they are in the in-scope carried around. Test Plan: ./validate Reviewers: bgamari, austin, goldfire, simonpj Reviewed By: simonpj Subscribers: thomie, simonmar Differential Revision: https://phabricator.haskell.org/D2044 GHC Trac Issues: #11371 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11371#comment:56> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler