#14408: error in refineFromInScope -------------------------------------+------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"fe6848f544c2a14086bcef388c46f4070c22d287/ghc" fe6848f5/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="fe6848f544c2a14086bcef388c46f4070c22d287" Fix in-scope set in simplifier This patch fixes Trac #14408. The problem was that the StaticEnv field of an ApplyToVar or Select continuation didn't have enough variables in scope. The fix is simple, and I documented the invariant in Note [StaticEnv invariant] in SimplUtils. No change in behaviour: this just stops an ASSERT from tripping. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14408#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler