#5684: ghc: panic! (the 'impossible' happened) (ghc 7.2.2)
--------------------------------+-------------------------------------------
Reporter: selinger | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.2.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Compile-time crash | Testcase:
Blockedby: | Blocking:
Related: |
--------------------------------+-------------------------------------------
Changes (by selinger):
* cc: selinger@… (added)
* failure: None/Unknown => Compile-time crash
Comment:
I attached a file that reproduces this bug. When compiling this file with
"ghc Bug.hs", using ghc 7.2.2, I reproducibly obtain the error:
{{{
ghc: panic! (the 'impossible' happened)
(GHC version 7.2.2 for x86_64-unknown-linux):
Unexpected given!
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
The file itself is nonsense, and in fact contains some type errors.
However, it shouldn't kill the compiler.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5684#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