[GHC] #15108: Panic: collectNBinders

GHC ghc-devs at haskell.org
Tue May 1 12:18:58 UTC 2018


#15108: Panic: collectNBinders
-------------------------------------+-------------------------------------
        Reporter:  cdisselkoen       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Profiling         |              Version:  8.4.2
      Resolution:                    |             Keywords:  panic
                                     |  collectNBinders
Operating System:  Linux             |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"07cc6039dccff82790bf1d84a81e26df234ad899/ghc" 07cc603/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="07cc6039dccff82790bf1d84a81e26df234ad899"
 Don't crash when pretty-printing bad joins

 Trac #15108 showed that the Core pretty-printer would
 crash if it found a join-point binding with too few lambda
 on the RHS.  That is super-unhelpful!  Lint will find it,
 but pretty-printing should not crash.

 This patch just makes the pretty printer behave more robustly;
 it leaves the job of error reporting to Lint.
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15108#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list