Skip to content

ghc "panic" - typecheck/TcRnTypes.lhs:233

I got a ghc "panic" when trying to compile some code
which made use of .hi-boot files.  The exact panic
message was

ghc-6.0.1: panic! (the `impossible' happened, GHC
version 6.0.1):
        typecheck/TcRnTypes.lhs:233: Missing field in
record construction TcRnTypes.top_errs

This was on a RedHat 8.0 Linux system,
with the following version of ghc:
Glasgow Haskell Compiler, Version 6.0.1, for Haskell
98, compiled by GHC version 6.0

I apologize for the incompleteness of this bug report,
but unfortunately the source code which triggered this
bug is proprietary, so I can't include it here.  Sorry!
Trac metadata
Trac field Value
Version 6.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler (Type checker)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited by Simon Marlow
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information