summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T9022.stdout
diff options
context:
space:
mode:
authorMario Blažević <blamario@protonmail.com>2022-08-13 17:50:24 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-22 22:06:21 -0400
commitb946232c328ed88fc34a7c83a335b2f5a4f777ed (patch)
tree3e65a5fac44f1f3987ae92f320c668b0d454996b /testsuite/tests/th/T9022.stdout
parentfb7c2d99f7df880b00b0d31ee7436c6d8eb3ba15 (diff)
downloadhaskell-b946232c328ed88fc34a7c83a335b2f5a4f777ed.tar.gz
Added pprType with precedence argument, as a prerequisite to fix issues #21723 and #21942.
* refines the precedence levels, adding `qualPrec` and `funPrec` to better control parenthesization * `pprParendType`, `pprFunArgType`, and `instance Ppr Type` all just call `pprType` with proper precedence * `ParensT` constructor is now always printed parenthesized * adds the precedence argument to `pprTyApp` as well, as it needs to keep track and pass it down * using `>=` instead of former `>` to match the Core type printing logic * some test outputs have changed, losing extraneous parentheses
Diffstat (limited to 'testsuite/tests/th/T9022.stdout')
0 files changed, 0 insertions, 0 deletions