Fix debug_ppr_ty ForAllTy (#18522)
Before this change, GHC would pretty-print forall k. forall a -> () as forall @k a. () which isn't even valid Haskell.
Showing
- compiler/GHC/Core/TyCo/Ppr.hs 28 additions, 12 deletionscompiler/GHC/Core/TyCo/Ppr.hs
- testsuite/tests/ghc-api/T18522-dbg-ppr.hs 50 additions, 0 deletionstestsuite/tests/ghc-api/T18522-dbg-ppr.hs
- testsuite/tests/ghc-api/T18522-dbg-ppr.stdout 2 additions, 0 deletionstestsuite/tests/ghc-api/T18522-dbg-ppr.stdout
- testsuite/tests/ghc-api/all.T 4 additions, 0 deletionstestsuite/tests/ghc-api/all.T
Loading
Please register or sign in to comment