Skip to content

GHCi crashes in context of banana bracket in arrow notation

Loading the attached haskell file in GHCi results in the following message. Compiling with ghc however is successful.

ghc.exe: panic! (the 'impossible' happened)

(GHC version 7.0.3 for i386-unknown-mingw32):

addTickHsExpr

(|/\(@ a{tv ayK} [sk]).

(arrows-0.4.4.0:Control.Arrow.Transformer.State.runState{v rgG} [gid])

@ arr{tv ayH} [sk]

@ ghc-prim:GHC.Types.Int{(w) tc 3J}

@ a{tv ayK} [sk]

@ ghc-prim:GHC.Types.Int{(w) tc 3J}

$dArrow{v aCr} [lid]

(((main:Main.goodArrow{v rp6} [lid])

@ (arrows-0.4.4.0:Control.Arrow.Transformer.State.StateArrow{tc rgD}

ghc-prim:GHC.Types.Int{(w) tc 3J} arr{tv ayH} [sk])

$dArrowState{v aCs} [lid] -< b{v apd} [lid]))|)

Trac metadata
Trac field Value
Version 7.0.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information