summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2017-02-17 14:50:59 +0000
committerBen Gamari <ben@smart-cactus.org>2017-02-20 13:33:12 -0500
commit2d5be63d1140a409eb18d1a77d439053844f7ce7 (patch)
tree788de731ff517049b1b0ed79bd4f21e67aacc3f1 /docs
parent0aafe5191c3c4b83cc414fb5cb31d2e6f100bee0 (diff)
downloadhaskell-2d5be63d1140a409eb18d1a77d439053844f7ce7.tar.gz
Change -dppr-ticks to -dsuppress-ticks
I spent about two hours today hunting fruitlessly for a simplifier bug (when fixing Trac #13255), only to find that it was caused by -ddump-X silently suppressing all ticks in Core. I think this has happened to me once before. So I've changed to make tick-printing on by default (like coercions, etc), with a flag -dsuppress-ticks (like -dsuppress-coercions) to suppress them. Blargh. -dppr-ticks is still there, but deprecated.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/debugging.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index fc634d0d47..fd4adc7d20 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -267,10 +267,6 @@ Dumping out compiler intermediate structures
aren't). This flag makes debugging output appear in the more verbose
debug style.
-.. ghc-flag:: -dppr-ticks
-
- Includes "ticks" in the pretty-printer output.
-
.. _formatting dumps:
@@ -323,6 +319,10 @@ parts that you are not interested in.
this often makes the printout ambiguous. If you just want to see the
overall structure of the code, then start here.
+.. ghc-flag:: -dsuppress-ticks
+
+ Suppress "ticks" in the pretty-printer output.
+
.. ghc-flag:: -dsuppress-uniques
Suppress the printing of uniques. This may make the printout