[commit: ghc] master: users guide: Mention -fprint-typechecker-elaboration in -ddump-tc docs (87b28a8)
git at git.haskell.org
git at git.haskell.org
Fri Jul 6 18:09:09 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/87b28a83fa7ff772ae0c22cf5d3f3e88e24cf466/ghc
>---------------------------------------------------------------
commit 87b28a83fa7ff772ae0c22cf5d3f3e88e24cf466
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Fri Jul 6 10:58:15 2018 -0400
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
>---------------------------------------------------------------
87b28a83fa7ff772ae0c22cf5d3f3e88e24cf466
docs/users_guide/debugging.rst | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index ab5942f..2039e12 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
More information about the ghc-commits
mailing list