Fix Trac #3263: don't print Hpc tick stuff unless -dppr-debug is on
authorsimonpj@microsoft.com <unknown>
Thu, 15 Oct 2009 11:44:37 +0000 (11:44 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 15 Oct 2009 11:44:37 +0000 (11:44 +0000)
commita9db145ff5b02ad9c79fcef44898a37254cc6c1a
tree1427f6f4ec42da07bcd7364ca8f5614c220c7ee2
parent1f56fae4a10f7fb56b8fbab5ab9ad95add1ed1dd
Fix Trac #3263: don't print Hpc tick stuff unless -dppr-debug is on

In general, when pretty-printing HsSyn, we omit the extra info added by GHC
(type appplications and abstractions, etc) when printing stuff for the user.
But we weren't applying that guideline to the HsTick stuff for Hpc.  This
patch adds the necessary tests.
compiler/hsSyn/HsBinds.lhs
compiler/hsSyn/HsExpr.lhs