summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-12-09 00:01:54 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-12-09 20:16:20 -0500
commitc658c580863fc23c29f183db3f52a2004756d84c (patch)
treeba1d768737b1b02bb0eb9b2542c677463a9677ef
parent195b08b4e933706ba4a29ab0a8357556d56f792c (diff)
downloadhaskell-c658c580863fc23c29f183db3f52a2004756d84c.tar.gz
hlint: Removed redundant UnboxedSums pragmas
UnboxedSums is quite confusingly implied by UnboxedTuples, alas, just the way it is. See #22485
-rw-r--r--compiler/GHC/Core/Lint.hs1
-rw-r--r--compiler/GHC/Data/OrdList.hs1
-rw-r--r--compiler/GHC/Data/Unboxed.hs1
3 files changed, 0 insertions, 3 deletions
diff --git a/compiler/GHC/Core/Lint.hs b/compiler/GHC/Core/Lint.hs
index e541058cc7..f980371c26 100644
--- a/compiler/GHC/Core/Lint.hs
+++ b/compiler/GHC/Core/Lint.hs
@@ -2,7 +2,6 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE UnboxedTuples #-}
-{-# LANGUAGE UnboxedSums #-}
{-
(c) The University of Glasgow 2006
diff --git a/compiler/GHC/Data/OrdList.hs b/compiler/GHC/Data/OrdList.hs
index 8e2178970c..6b122b1833 100644
--- a/compiler/GHC/Data/OrdList.hs
+++ b/compiler/GHC/Data/OrdList.hs
@@ -8,7 +8,6 @@
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE PatternSynonyms #-}
-{-# LANGUAGE UnboxedSums #-}
{-# LANGUAGE UnboxedTuples #-}
-- | Provide trees (of instructions), so that lists of instructions can be
diff --git a/compiler/GHC/Data/Unboxed.hs b/compiler/GHC/Data/Unboxed.hs
index dbd197351b..cf45379f77 100644
--- a/compiler/GHC/Data/Unboxed.hs
+++ b/compiler/GHC/Data/Unboxed.hs
@@ -1,6 +1,5 @@
-- Unboxed counterparts to data structures
-{-# LANGUAGE UnboxedSums #-}
{-# LANGUAGE UnboxedTuples #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE UnliftedNewtypes #-}