#15002: Panic: collectNBinders -------------------------------------+------------------------------------- Reporter: crockeea | Owner: nomeata Type: bug | Status: patch Priority: highest | Milestone: 8.4.2 Component: Profiling | Version: 8.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4572 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Joachim Breitner <mail@…>): In [changeset:"ae0cff0a1834d8b041b06d0e1ab6ce969aac44c8/ghc" ae0cff0a/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="ae0cff0a1834d8b041b06d0e1ab6ce969aac44c8" CSE: Walk past join point lambdas (#15002) As the CSE transformation traverses the syntax tree, it needs to go past the lambdas of a join point, and only look for CSE opportunities inside, as a join point’s lambdas must be preserved. Simple fix; comes with a Note and a test case. Thanks to Ryan Scott for an excellently minimized test case, and for bisecting GHC. Differential Revision: https://phabricator.haskell.org/D4572 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15002#comment:15> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler