summaryrefslogtreecommitdiff
path: root/compiler/typecheck/FunDeps.hs
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2016-05-12 08:01:34 -0700
committerBartosz Nitka <niteria@gmail.com>2016-05-12 09:34:08 -0700
commit5416fadb7387cbe89752faa875b2dade60655cf2 (patch)
treef320b60f572746a920dda5906c129e9deeafa591 /compiler/typecheck/FunDeps.hs
parent7c0b595e55d31f9f89e6dede11981e942c5bb32f (diff)
downloadhaskell-5416fadb7387cbe89752faa875b2dade60655cf2.tar.gz
Refactor some ppr functions to use pprUFM
Nondeterminism doesn't matter in these places and pprUFM makes it obvious. I've flipped the order of arguments for convenience. Test Plan: ./validate Reviewers: simonmar, bgamari, austin, simonpj Reviewed By: simonpj Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2205 GHC Trac Issues: #4012
Diffstat (limited to 'compiler/typecheck/FunDeps.hs')
-rw-r--r--compiler/typecheck/FunDeps.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/FunDeps.hs b/compiler/typecheck/FunDeps.hs
index 4f213b2c6e..bf4255812f 100644
--- a/compiler/typecheck/FunDeps.hs
+++ b/compiler/typecheck/FunDeps.hs
@@ -402,7 +402,7 @@ checkInstCoverage be_liberal clas theta inst_taus
<+> text "determine rhs type"<>plural rs
<+> pprQuotedList rs ]
, text "Un-determined variable" <> pluralVarSet undet_set <> colon
- <+> pprVarSet (pprWithCommas ppr) undet_set
+ <+> pprVarSet undet_set (pprWithCommas ppr)
, ppWhen (isEmptyVarSet $ pSnd undetermined_tvs) $
ppSuggestExplicitKinds
, ppWhen (not be_liberal &&