[GHC] #15002: Panic: collectNBinders

GHC ghc-devs at haskell.org
Thu Apr 5 07:14:49 UTC 2018


#15002: Panic: collectNBinders
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                Owner:  (none)
            Type:  bug               |               Status:  new
        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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Very good.  I suggest that a join-point binding of arity N should always
 have its lambdas at the top.  If there are any ticks involved, they should
 be inside the N binders.   (There may be more than, in which case the
 normal rules should apply after that.)

 Moreover, Lint should check this invariant.

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


More information about the ghc-tickets mailing list