summaryrefslogtreecommitdiff
path: root/compiler/GHC/Data/Bag.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Data/Bag.hs')
-rw-r--r--compiler/GHC/Data/Bag.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Data/Bag.hs b/compiler/GHC/Data/Bag.hs
index 4171d7b03e..a5f4a48375 100644
--- a/compiler/GHC/Data/Bag.hs
+++ b/compiler/GHC/Data/Bag.hs
@@ -85,7 +85,7 @@ snocBag bag elt = bag `unionBags` (unitBag elt)
isEmptyBag :: Bag a -> Bool
isEmptyBag EmptyBag = True
-isEmptyBag _ = False -- NB invariants
+isEmptyBag _ = False
isSingletonBag :: Bag a -> Bool
isSingletonBag EmptyBag = False