
#16288: Core Lint error: Occurrence is GlobalId, but binding is LocalId -------------------------------------+------------------------------------- Reporter: monoidal | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 8.7 Resolution: | Keywords: Simplifier Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: 15840 Related Tickets: | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/325 -------------------------------------+------------------------------------- Changes (by simonpj): * keywords: => Simplifier Comment: I'm ok with the patch for now, but I'd like to keep this ticket open because I think a Better Solution is really to make the occurrence analyser perform the substitution instead of creating a 'let'. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16288#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler