On Wed, Dec 05, 2012 at 08:12:59AM +1100, Erik de Castro Lopo wrote: > > when the exception is throw it ends up in showGhcException which drops > the SDoc part of the message on the floor: > > PprPanic s _ -> > showGhcException (Panic (s ++ "\n<<details unavailable>>"))
It's meant to end up in prettyPrintGhcErrors (called by main' in ghc/Main.hs). Perhaps we need a second call to prettyPrintGhcErrors earlier, using dflags0? Thanks Ian -- Ian Lynagh, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc