
#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 nomeata):
Thanks for the nice test case, I added it to the test suite.
JFTR, this can be easily reproduced without stack or GHC:
{{{
~/build/haskell/ghc-master $ ./inplace/bin/ghc-stage2
testsuite/tests/profiling/should_compile/T15108.hs -prof -fprof-auto
-dcore-lint
[1 of 1] Compiling Main (
testsuite/tests/profiling/should_compile/T15108.hs,
testsuite/tests/profiling/should_compile/T15108.o )
*** Core Lint errors : in result of Desugar (after optimization) ***
testsuite/tests/profiling/should_compile/T15108.hs:22:7: warning:
[RHS of myInt_aVZ :: Int -> MyInt]
Join point has too few lambdas
Join var: myInt_aVZ
Join arity: 1
Number of lambdas: 0
Rhs = scctick