panic trying to display an error message

Simon Marlow simonmar@microsoft.com
Wed, 15 Aug 2001 09:21:08 +0100


> module Test where
>=20
> class C a b | a -> b where
>     f :: b -> a
>=20
> g =3D [f 'x', f "y"]
>=20
>=20
> [qrczak ~]$ ghc -c -fglasgow-exts Test.hs
>=20
> Test.hs:6:
>     Couldn't match `Char' against `[Char]'
>         Expected type: Char
>         Inferred type: [Char]
>     When using functional dependencies to combine
>       C a Char,ghc-5.01: panic! (the `impossible' happened,=20
> GHC version 5.01):
>         Oops!  Entered absent arg w_scJY TcMonad.InstOrigin{-rxE-}

This is now fixed.

Cheers,
	Simon