summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-12-16 14:10:54 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-17 12:44:49 -0500
commit825ce3af0470abe48e33e6297ca60a7c3aee32f8 (patch)
treef457059f4f15f3e37083dc67c6d19db16f8195e8
parent554ffe9688a69d8866e6fa379860631d1b633342 (diff)
downloadhaskell-825ce3af0470abe48e33e6297ca60a7c3aee32f8.tar.gz
ghci: Fix unused binder warnings when building with integer-simple
-rw-r--r--compiler/ghci/RtClosureInspect.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/ghci/RtClosureInspect.hs b/compiler/ghci/RtClosureInspect.hs
index f4d09cc6de..a61d776576 100644
--- a/compiler/ghci/RtClosureInspect.hs
+++ b/compiler/ghci/RtClosureInspect.hs
@@ -327,9 +327,7 @@ cPprTermBase y =
, ifTerm' (isTyCon charTyCon . ty) ppr_char
, ifTerm' (isTyCon floatTyCon . ty) ppr_float
, ifTerm' (isTyCon doubleTyCon . ty) ppr_double
-#if defined(INTEGER_GMP)
, ifTerm' (isIntegerTy . ty) ppr_integer
-#endif
]
where
ifTerm :: (Term -> Bool)