summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorTom Ellis <tom.ellis@microsoft.com>2019-12-02 11:06:11 +0000
committertomjaguarpaw1 <tom-github.com@jaguarpaw.co.uk>2020-01-27 12:30:46 -0500
commit4bada77d5882974514d85d4bd0fd4e1801dad755 (patch)
treef429f57d48400892ad0a5c91bb2e03f9115c2c5a /compiler/utils
parent97d0b0a367e4c6a52a17c3299439ac7de129da24 (diff)
downloadhaskell-4bada77d5882974514d85d4bd0fd4e1801dad755.tar.gz
Disable two warnings for files that trigger them
incomplete-uni-patterns and incomplete-record-updates will be in -Wall at a future date, so prepare for that by disabling those warnings on files that trigger them.
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/Fingerprint.hs1
-rw-r--r--compiler/utils/GraphColor.hs2
-rw-r--r--compiler/utils/GraphOps.hs2
-rw-r--r--compiler/utils/Util.hs2
4 files changed, 7 insertions, 0 deletions
diff --git a/compiler/utils/Fingerprint.hs b/compiler/utils/Fingerprint.hs
index 0d4499079f..21f6a93c77 100644
--- a/compiler/utils/Fingerprint.hs
+++ b/compiler/utils/Fingerprint.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
-- ----------------------------------------------------------------------------
--
diff --git a/compiler/utils/GraphColor.hs b/compiler/utils/GraphColor.hs
index 82ec522357..9ab2ad22af 100644
--- a/compiler/utils/GraphColor.hs
+++ b/compiler/utils/GraphColor.hs
@@ -3,6 +3,8 @@
-- the node keys, nodes and colors.
--
+{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
+
module GraphColor (
module GraphBase,
module GraphOps,
diff --git a/compiler/utils/GraphOps.hs b/compiler/utils/GraphOps.hs
index cc8668ea45..c7161f0e32 100644
--- a/compiler/utils/GraphOps.hs
+++ b/compiler/utils/GraphOps.hs
@@ -1,6 +1,8 @@
-- | Basic operations on graphs.
--
+{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
+
module GraphOps (
addNode, delNode, getNode, lookupNode, modNode,
size,
diff --git a/compiler/utils/Util.hs b/compiler/utils/Util.hs
index 1837b13e97..a8eb5ea471 100644
--- a/compiler/utils/Util.hs
+++ b/compiler/utils/Util.hs
@@ -6,6 +6,8 @@
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE TupleSections #-}
+{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
+
-- | Highly random utility functions
--
module Util (