#3592: ghc: panic! on overloaded type synonym
--------------------+-------------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.3 | Severity: normal
Keywords: | Testcase:
Os: MacOS X | Architecture: x86
--------------------+-------------------------------------------------------
Consider the following program:
{{{
module Main where
type T a = Show a => a
f :: T a -> String
f = show
}}}
Compiling this with GHC 6.10.3 and -fglasgow-exts gives:
{{{
[1 of 1] Compiling Main ( Test.hs, interpreted )
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.3 for i386-apple-darwin):
TcTyFuns.flattenType: unexpected PredType
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3592>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs