
#9181: :browse GHC.TypeLits causes panic -------------------------------------+------------------------------------ Reporter: nomeata | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: GHCi crash | Difficulty: Unknown Test Case: T9181 | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by nomeata): This is caused by {{{ to_ifsyn_rhs (BuiltInSynFamTyCon {}) = pprPanic "toIfaceDecl: BuiltInFamTyCon" (ppr tycon) }}} in `tyConToIfaceDecl`. Of course we don’t want `BuiltInSynFamTyCon` in interface files, but we use `tyConToIfaceDecl` (via `pprTyThing`) also for pretty-printing. So this function needs to be made “totaler”. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9181#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler