Commit df084681 authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski

Always display inferred variables using braces

We now always show "forall {a}. T" for inferred variables,
previously this was controlled by -fprint-explicit-foralls.

This implements part 1 of https://github.com/ghc-proposals/ghc-proposals/pull/179.

Part of GHC ticket #16320.

Furthermore, when printing a levity restriction error, we now display
the HsWrap of the expression. This lets users see the full elaboration with
-fprint-typechecker-elaboration (see also #17670)
parent 6c2585e0
Pipeline #15748 passed with stages
in 482 minutes and 44 seconds