#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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to