
#8055: ghc: panic! (the 'impossible' happened) [..] kindFunResult ----------------------------------+--------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Keywords: | Operating System: MacOS X Architecture: x86_64 (amd64) | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ----------------------------------+--------------------------------- Hello The following code causes GHC (and GHCi) to panic. I'm not sure about the correctness of the code itself. I came upon it because of a misplaced `$`. {{{ GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. λ> :m +Data.Either Control.Applicative Control.Monad.Trans λ> :t either error id <$> lift ghc: panic! (the 'impossible' happened) (GHC version 7.6.3 for x86_64-apple-darwin): kindFunResult <<details unavailable>> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug λ> }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8055 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler