
#8120: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------ Reporter: EyalLotem | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by monoidal): * status: new => closed * resolution: => duplicate Comment: You can trigger the bug with `f :: a -> b; f x = undefined >>= l x` or more simply `f = l undefined undefined`. It's a duplicate of #7920/#7368 (search Trac for "kindFunResult" for more), fixed in 7.7 but it was left unfixed in 7.6. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8120#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler