ghc: panic! (the 'impossible' happened)
ghc: panic! (the 'impossible' happened)
(GHC version 7.4.1 for x86_64-unknown-linux):
compiler/rename/RnSource.lhs:429:14-81: Irrefutable pattern failed for pattern Data.Maybe.Just (inst_tyvars,
_,
SrcLoc.L _ cls,
_)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
The message appeared after inserting
data CSeq a = CSeq [a] instance (context => CDelimeter) CProd CSeq a where
produce context (CSeq x) = map (produce context) x
ghc is from standard ubuntu package.
haskell-compiler --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.4.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |