[GHC] #10028: GHC Panic (The Impossible Happened)

#10028: GHC Panic (The Impossible Happened) -------------------------------------+------------------------------------- Reporter: | Owner: archaephyrryx | Status: new Type: bug | Milestone: Priority: normal | Version: 7.4.1 Component: Compiler | Operating System: Unknown/Multiple Keywords: | Type of failure: Compile-time panic,impossible,irrefutable | crash Architecture: x86_64 | Blocked By: (amd64) | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Error message: {{{ ghc: panic! (the 'impossible' happened) (GHC version 7.4.1 for x86_64-unknown-linux): compiler/rename/RnPat.lhs:535:39-79: Irrefutable pattern failed for pattern gres@(gre : _) }}} Cause: Importing a Module containing a record-syntax defined datatype, hiding one of the record fields, causes the use of the language pragma RecordWildCards to make GHC encounter a fatal error. A minimal reproduction case is attached to this ticket. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10028 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10028: GHC Panic (The Impossible Happened) -------------------------------------+------------------------------------- Reporter: archaephyrryx | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | panic,impossible,irrefutable Type of failure: Compile-time | Architecture: x86_64 crash | (amd64) Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => closed * resolution: => fixed Comment: Thanks for reporting. Happily it was fixed in 7.6, and works in 7.8 and HEAD too. So I'll close it as fixed. (We aren't going to make another release of 7.4) Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10028#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC