[jhc] ./src/E/FromHs.hs:(869, 4)-(871, 30): Irrefutable pattern
failed for pattern (p : ps)
David Roundy
daveroundy at gmail.com
Wed Sep 9 19:09:17 EDT 2009
If you have trouble reproducing this, I could email you a prepared
tarball off list... or put it somewhere to be downloaded.
David
On Wed, Sep 9, 2009 at 5:33 PM, John Meacham <john at repetae.net> wrote:
> On Wed, Sep 09, 2009 at 03:37:48PM -0400, David Roundy wrote:
>> Hi John,
>>
>> I'm getting the following error now:
>>
>> Compiling...
>> [ 1 of 18] Jhc.AltIO ./src/E/FromHs.hs:(869,4)-(871,30):
>> Irrefutable pattern failed for pattern (p : ps)
>>
>> which is the irrefutable pattern in tinyHeads. Unfortunately, I'm
>> still pretty clueless about debugging jhc itself. I'm not sure what
>> this function is doing, or how to figure out which code it's working
>> on... :(
>
> Hmmm.. this implies some odd code is making it all the way through the
> front end to the core conversion routines. Perhaps a bug in the
> desugarer? Generally, when presented with this sort of bug, I will use
> -flint (always use this when debugging jhc), then jhcs '-d' option to
> print out anything I can that might be relevant to the bug. If that
> doesn't make it obvious, I'll go in and modify the code to print some
> trace information. I'll see if I can reproduce this one though...
>
> John
>
> --
> John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/
> _______________________________________________
> jhc mailing list
> jhc at haskell.org
> http://www.haskell.org/mailman/listinfo/jhc
>
--
David Roundy
More information about the jhc
mailing list