#5884: GHC panics while trying to derive a Generic instance for Complex a
--------------------------------+-------------------------------------------
 Reporter:  mux                 |          Owner:                  
     Type:  bug                 |         Status:  new             
 Priority:  normal              |      Component:  Compiler        
  Version:  7.4.1               |       Keywords:                  
       Os:  Unknown/Multiple    |   Architecture:  Unknown/Multiple
  Failure:  Compile-time crash  |       Testcase:                  
Blockedby:                      |       Blocking:                  
  Related:                      |  
--------------------------------+-------------------------------------------
 Using the StandaloneDeriving and DeriveGeneric extensions, GHC panics when
 deriving a Generic instance for Complex a with the following error:

 GHCi, version 7.4.1: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 [1 of 1] Compiling Main             ( TestCase.hs, interpreted )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.4.1 for x86_64-unknown-freebsd):
         tcTyVarDetails
     ( a{tv ahY} [tv] :: ghc-prim:GHC.Prim.*{(w) tc 34d} )

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5884>
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

Reply via email to