summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-12-09 00:01:54 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2022-12-09 09:36:54 +0000
commit57440ae1932ca373c9ff1d6c5889bd0c079cf273 (patch)
tree8133482ebdac836805f21ddb456d91aee5bf57cf
parente84035dc872ffc4b500ca3c80eea1ef3f68d024c (diff)
downloadhaskell-wip/bump-9.4-ci.tar.gz
hlint: Removed redundant UnboxedSums pragmaswip/bump-9.4-ci
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 #-}