• Sylvain Henry's avatar
    DynFlags: remove use of sdocWithDynFlags from GHC.Stg.* (#17957) · 30caeee7
    Sylvain Henry authored
    * 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
Code owners : Ben Gamari
Unarise.hs 27.1 KB