Skip to content
  • Sylvain Henry's avatar
    Refactor PprDebug handling · f8386c7b
    Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
    If `-dppr-debug` is set, then PprUser and PprDump styles are silently
    replaced with PprDebug style. This was done in `mkUserStyle` and
    `mkDumpStyle` smart constructors. As a consequence they needed a
    DynFlags parameter.
    
    Now we keep the original PprUser and PprDump styles until they are used
    to create an `SDocContext`. I.e. the substitution is only performed in
    `initSDocContext`.
    f8386c7b