Skip to content

DynFlags: remove use of sdocWithDynFlags from GHC.Stg.* (#17957)

Sylvain Henry requested to merge hsyl20/ghc:hsyl20/dynflags/stg into master
  • add StgPprOpts datatype
  • remove Outputable instances for types that need StgPprOpts to be pretty-printed and explicitly call type specific ppr functions
  • add default panicStgPprOpts for panic messages (when it's not convenient to thread StgPprOpts or DynFlags down to the ppr function call)

Merge request reports