summaryrefslogtreecommitdiff
path: root/compiler/GHC/StgToCmm/Heap.hs
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/GHC/StgToCmm/Heap.hs
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/GHC/StgToCmm/Heap.hs')
-rw-r--r--compiler/GHC/StgToCmm/Heap.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/StgToCmm/Heap.hs b/compiler/GHC/StgToCmm/Heap.hs
index 492a4460f8..0ac573314a 100644
--- a/compiler/GHC/StgToCmm/Heap.hs
+++ b/compiler/GHC/StgToCmm/Heap.hs
@@ -6,6 +6,8 @@
--
-----------------------------------------------------------------------------
+{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
+
module GHC.StgToCmm.Heap (
getVirtHp, setVirtHp, setRealHp,
getHpRelOffset,