Parenthesize nullary constraint tuples using sigPrec (#17403)
We were using appPrec
, not sigPrec
, as the precedence when
determining whether or not to parenthesize () :: Constraint
,
which lead to the parentheses being omitted in function contexts
like (() :: Constraint) => String
. Easily fixed.
Fixes #17403 (closed).