Bug: panic trying to display an error message

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
14 Aug 2001 15:16:04 GMT


module Test where

class C a b | a -> b where
    f :: b -> a

g = [f 'x', f "y"]


[qrczak ~]$ ghc -c -fglasgow-exts Test.hs

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, GHC version 5.01):
        Oops!  Entered absent arg w_scJY TcMonad.InstOrigin{-rxE-}

Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK