> resulted in the following compiler output using the command
> `ghc -fglasgow-exts -c Main.hs':
>
> -------------------------------------
> panic! (the `impossible' happened):
> applyTypeToArgs Main.MkFoo{-r1l,x-} {B1 PrelBase.True{-6y,w-}}
Thanks for a fine report. Talk about falling at the first fence.
The inlining for constructors was totally broken.
I've fixed this, and checked it into the main new-rts CVS tree.
You can grab it from there or wait for a new release..
Simon
- panic with existential types Erik Rozendaal
- Re: panic with existential types Manuel M. T. Chakravarty
- Simon Peyton-Jones
