Skip to content
Snippets Groups Projects
Commit f8386c7b authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot
Browse files

Refactor PprDebug handling

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`.
parent 780de9e1
No related branches found
No related tags found
No related merge requests found
Showing
with 41 additions and 43 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment