diff options
Diffstat (limited to 'compiler/GHC/Tc/Errors/Hole.hs')
-rw-r--r-- | compiler/GHC/Tc/Errors/Hole.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/Errors/Hole.hs b/compiler/GHC/Tc/Errors/Hole.hs index 5ae117bf55..32091e7836 100644 --- a/compiler/GHC/Tc/Errors/Hole.hs +++ b/compiler/GHC/Tc/Errors/Hole.hs @@ -467,7 +467,7 @@ pprHoleFit (HFDC sWrp sWrpVars sTy sProv sMs) (HoleFit {..}) = unwrapTypeVars t = vars ++ case splitFunTy_maybe unforalled of Just (_, _, unfunned) -> unwrapTypeVars unfunned _ -> [] - where (vars, unforalled) = splitForAllVarBndrs t + where (vars, unforalled) = splitForAllTyCoVarBinders t holeVs = sep $ map (parens . (text "_" <+> dcolon <+>) . ppr) hfMatches holeDisp = if sMs then holeVs else sep $ replicate (length hfMatches) $ text "_" |