Print Core type applications with no whitespace after @ (#17643)
This brings the pretty-printer for Core in line with how visible type applications are normally printed: namely, with no whitespace after the `@` character (i.e., `f @a` instead of `f @ a`). While I'm in town, I also give the same treatment to type abstractions (i.e., `\(@a)` instead of `\(@ a)`) and coercion applications (i.e., `f @~x` instead of `f @~ x`). Fixes #17643.
Showing
- compiler/GHC/Iface/Syntax.hs 2 additions, 2 deletionscompiler/GHC/Iface/Syntax.hs
- compiler/GHC/Iface/Type.hs 2 additions, 2 deletionscompiler/GHC/Iface/Type.hs
- compiler/basicTypes/RdrName.hs 1 addition, 1 deletioncompiler/basicTypes/RdrName.hs
- compiler/coreSyn/PprCore.hs 4 additions, 4 deletionscompiler/coreSyn/PprCore.hs
- compiler/specialise/Specialise.hs 1 addition, 1 deletioncompiler/specialise/Specialise.hs
- compiler/typecheck/TcEvidence.hs 1 addition, 1 deletioncompiler/typecheck/TcEvidence.hs
- testsuite/tests/deSugar/should_compile/T13208.stdout 1 addition, 1 deletiontestsuite/tests/deSugar/should_compile/T13208.stdout
- testsuite/tests/deSugar/should_compile/T16615.stderr 4 additions, 4 deletionstestsuite/tests/deSugar/should_compile/T16615.stderr
- testsuite/tests/deSugar/should_compile/T2431.stderr 5 additions, 5 deletionstestsuite/tests/deSugar/should_compile/T2431.stderr
- testsuite/tests/deriving/should_compile/T17339.stderr 4 additions, 4 deletionstestsuite/tests/deriving/should_compile/T17339.stderr
- testsuite/tests/ghci/should_run/T16096.stdout 10 additions, 20 deletionstestsuite/tests/ghci/should_run/T16096.stdout
- testsuite/tests/numeric/should_compile/T14465.stdout 2 additions, 2 deletionstestsuite/tests/numeric/should_compile/T14465.stdout
- testsuite/tests/perf/compiler/T16473.stdout 20 additions, 22 deletionstestsuite/tests/perf/compiler/T16473.stdout
- testsuite/tests/perf/compiler/T4007.stdout 1 addition, 1 deletiontestsuite/tests/perf/compiler/T4007.stdout
- testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr 4 additions, 4 deletions...e/tests/rename/should_compile/ExplicitForAllRules1.stderr
- testsuite/tests/roles/should_compile/Roles13.stderr 3 additions, 3 deletionstestsuite/tests/roles/should_compile/Roles13.stderr
- testsuite/tests/roles/should_compile/T8958.stderr 26 additions, 49 deletionstestsuite/tests/roles/should_compile/T8958.stderr
- testsuite/tests/showIface/Orphans.stdout 2 additions, 2 deletionstestsuite/tests/showIface/Orphans.stdout
- testsuite/tests/simplCore/should_compile/T13143.stderr 4 additions, 4 deletionstestsuite/tests/simplCore/should_compile/T13143.stderr
- testsuite/tests/simplCore/should_compile/T13156.stdout 1 addition, 1 deletiontestsuite/tests/simplCore/should_compile/T13156.stdout
Loading
Please register or sign in to comment