
#8114: GHC panic when building `thyme` ---------------------------------------+---------------------------------- Reporter: Ptharien's Flame | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Comment (by carter): the meat of the error message is {{{ stgEqType: unequal ghc-prim:GHC.Prim.ByteArray#{(w) tc 3f} ghc-prim:GHC.Prim.MutableByteArray#{(w) tc 31p} s{tv h} [tv] ghc: panic! (the 'impossible' happened) (GHC version 7.6.3 for x86_64-apple-darwin): *** Stg Lint ErrMsgs: in Stg2Stg *** <no location info>: Warning: [RHS of sat_sgA{v} [lid] :: main:Array.Array{tc rfc}] In a RHS constructor application, con type doesn't match arg types: Constructor type: ghc-prim:GHC.Prim.ByteArray#{(w) tc 3f} -> main:Array.Array{tc rfc} Arg types: ghc-prim:GHC.Prim.MutableByteArray#{(w) tc 31p} s{tv h} [tv] }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8114#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler