diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2017-02-08 13:20:02 +0200 |
---|---|---|
committer | Alan Zimmerman <alan.zimm@gmail.com> | 2017-02-08 20:47:51 +0200 |
commit | 7e4e6a7309b2eb74933f95f18d83e74dbf166a7e (patch) | |
tree | 433383bc2ec7302f68c1d1c4eb1ebad7954aaa83 /docs/users_guide/debugging.rst | |
parent | a94b484715d3caf445a7069377d5311e0e50f66e (diff) | |
download | haskell-7e4e6a7309b2eb74933f95f18d83e74dbf166a7e.tar.gz |
Add dump flags for the renamed and typechecked hsSyn ASTs
Summary:
D2958 brought in the "dump-parsed-ast" functionality.
Extend it to include "dump-rn-ast" and "dump-tc-ast"
Test Plan: ./validate
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D3107
Diffstat (limited to 'docs/users_guide/debugging.rst')
-rw-r--r-- | docs/users_guide/debugging.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst index 3dda67bee5..fc634d0d47 100644 --- a/docs/users_guide/debugging.rst +++ b/docs/users_guide/debugging.rst @@ -46,10 +46,18 @@ Dumping out compiler intermediate structures Dump renamer output + .. ghc-flag:: -ddump-rn-ast + + Dump renamer output as a syntax tree + .. ghc-flag:: -ddump-tc Dump typechecker output + .. ghc-flag:: -ddump-tc-ast + + Dump typechecker output as a syntax tree + .. ghc-flag:: -ddump-splices Dump Template Haskell expressions that we splice in, and what |