diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-07-06 10:58:15 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-07-06 14:08:37 -0400 |
commit | 87b28a83fa7ff772ae0c22cf5d3f3e88e24cf466 (patch) | |
tree | e9779734bffbcccfb6a8432e807e6b53f38dd09c /docs/users_guide/debugging.rst | |
parent | de95bf40ee0af0e7da4cb6cc4e0ad33694234bb9 (diff) | |
download | haskell-87b28a83fa7ff772ae0c22cf5d3f3e88e24cf466.tar.gz |
users guide: Mention -fprint-typechecker-elaboration in -ddump-tc docs
Reviewers: mpickering
Reviewed By: mpickering
Subscribers: mpickering, rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4898
Diffstat (limited to 'docs/users_guide/debugging.rst')
-rw-r--r-- | docs/users_guide/debugging.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst index ab5942ffe7..2039e1268b 100644 --- a/docs/users_guide/debugging.rst +++ b/docs/users_guide/debugging.rst @@ -158,7 +158,9 @@ These flags dump various information from GHC's typechecker and renamer. :shortdesc: Dump typechecker output :type: dynamic - Dump typechecker output + Dump typechecker output. Note that this hides a great deal of detail by + default; you might consider using this with + :ghc-flag:`-fprint-typechecker-elaboration`. .. ghc-flag:: -ddump-tc-ast :shortdesc: Dump typechecker output as a syntax tree @@ -213,7 +215,8 @@ subexpression elimination pass. Print a one-line summary of the size of the Core program at the end of the optimisation pipeline. -.. ghc-flag:: -ddump-ds -ddump-ds-preopt +.. ghc-flag:: -ddump-ds + -ddump-ds-preopt :shortdesc: Dump desugarer output. :type: dynamic |