#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 Bartosz Nitka <niteria@…>): In [changeset:"62943d2adc51c4a7a61bb1f48fd245791acfffe9/ghc" 62943d2/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="62943d2adc51c4a7a61bb1f48fd245791acfffe9" Build a correct substitution in dataConInstPat This adds the tyvars of the domain of the substitution into the in-scope set as well. What I'm not sure here is if the kinds can have any free vars that should be in the in-scope set as well. Test Plan: ./validate Reviewers: goldfire, austin, bgamari, simonpj Reviewed By: simonpj Subscribers: thomie, simonmar Differential Revision: https://phabricator.haskell.org/D2094 GHC Trac Issues: #11371 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11371#comment:58> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler