[GHC] #5220: GHC internal error when missing -XFlexibleContexts with generics
GHC
cvs-ghc at haskell.org
Wed May 25 17:42:22 CEST 2011
#5220: GHC internal error when missing -XFlexibleContexts with generics
---------------------------------+------------------------------------------
Reporter: dreixel | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.1 | Keywords:
Testcase: GEq2 | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
See test case GEq2 (currently on the ghc-generics branch, soon to be
merged). When missing -XFlexibleContexts, the compiler panics with
{{{
GHC internal error: `Main.$gdmgeq' is not in scope during type checking,
but it passed the renamer
}}}
When -XFlexibleContexts is added, the error disappears.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5220>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list