Parser panic: Non-exhaustive patterns in case
Jan de Wit
jwit at students.cs.uu.nl
Wed Oct 10 05:52:06 EDT 2001
Hello,
In GHC 5.02 on Sun Solaris (binary package), running 'ghc-5.02 -c
-fglasgow-exts Test.hs' and Test.hs containing the following code:
> module Test where
> bimapGRose __ff __a = ((to ((bimapEP epGRose) epGRose))
> ((bimapGRose__ __ff) __a))
Gives the following panic message:
| ghc-5.02: panic! (the `impossible' happened, GHC version 5.02):
| parser/Parser.hs:5394: Non-exhaustive patterns in case
|
| Please report it as a compiler bug to glasgow-haskell-bugs at haskell.org,
| or http://sourceforge.net/projects/ghc/.
The problem does not occur when '-fglasgow-exts' is omitted, but we need
the universally quantified types...
The problem also occurs in 5.00.1 and 4.08.1, with line numbers 5292 and
10787 respectively.
I've tried to submit to the SourceForge bug list as well, but that doesn't
seem to be working for me...
All the best,
Jan de Wit
More information about the Glasgow-haskell-bugs
mailing list