[GHC] #14408: error in refineFromInScope
#14408: error in refineFromInScope -------------------------------------+------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- There are several instances of the following line in the output in a validate build: {{{ WARNING: file compiler/simplCore/SimplEnv.hs, line 678 $j_setr }}} For example: https://phabricator.haskell.org/harbormaster/build/36855/?l=0, the harbourmaster build of 609f2844b92d5aa474f34b989c6ec5ad9fdb2ce3. That line indicates that said warning "is an error!" -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14408> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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
#14408: error in refineFromInScope -------------------------------------+------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.3 Resolution: fixed | 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: | -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => closed * resolution: => fixed Comment: I've been meaning to look at this for ages, so thanks for the prompt. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14408#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC