Improve pretty-printing of HsWrappers
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 12 Feb 2016 13:42:55 +0000 (13:42 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 12 Feb 2016 17:37:11 +0000 (17:37 +0000)
commitd0846243747213218cba856d5c322016bd3e6d9e
treee637646a3dfcd265d1eb4da4394d9a5f1325bb56
parent125151870de63de4a227afc2c1e38802009bc7e5
Improve pretty-printing of HsWrappers

Reduces un-neede parens.

Also -fprint-typechecker-elaboration now makes type applications
and casts in expressions also appear.  (Previously those were
confusingly controlled by -fprint-explicit-coercions.)
compiler/hsSyn/HsExpr.hs
compiler/hsSyn/HsPat.hs
compiler/typecheck/TcEvidence.hs
compiler/typecheck/TcExpr.hs
compiler/typecheck/TcSplice.hs
testsuite/tests/roles/should_compile/T8958.stderr