#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:                      |  
--------------------------------+-------------------------------------------
Description changed by mux:

Old description:

> 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} )

New description:

 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#comment:1>
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