diff options
author | Tom Ellis <tom.ellis@microsoft.com> | 2019-12-02 11:06:11 +0000 |
---|---|---|
committer | tomjaguarpaw1 <tom-github.com@jaguarpaw.co.uk> | 2020-01-27 12:30:46 -0500 |
commit | 4bada77d5882974514d85d4bd0fd4e1801dad755 (patch) | |
tree | f429f57d48400892ad0a5c91bb2e03f9115c2c5a /compiler/GHC/Iface | |
parent | 97d0b0a367e4c6a52a17c3299439ac7de129da24 (diff) | |
download | haskell-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/Iface')
-rw-r--r-- | compiler/GHC/Iface/Ext/Ast.hs | 3 | ||||
-rw-r--r-- | compiler/GHC/Iface/Rename.hs | 2 | ||||
-rw-r--r-- | compiler/GHC/Iface/Tidy.hs | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/compiler/GHC/Iface/Ext/Ast.hs b/compiler/GHC/Iface/Ext/Ast.hs index 50d5d8e3e7..893966d3eb 100644 --- a/compiler/GHC/Iface/Ext/Ast.hs +++ b/compiler/GHC/Iface/Ext/Ast.hs @@ -12,6 +12,9 @@ Main functions for .hie file generation {-# LANGUAGE AllowAmbiguousTypes #-} {-# LANGUAGE ViewPatterns #-} {-# LANGUAGE DeriveDataTypeable #-} + +{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-} + module GHC.Iface.Ext.Ast ( mkHieFile ) where import GhcPrelude diff --git a/compiler/GHC/Iface/Rename.hs b/compiler/GHC/Iface/Rename.hs index 94a7dbc06e..693f9068c4 100644 --- a/compiler/GHC/Iface/Rename.hs +++ b/compiler/GHC/Iface/Rename.hs @@ -1,6 +1,8 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE LambdaCase #-} +{-# OPTIONS_GHC -Wno-incomplete-record-updates #-} + -- | This module implements interface renaming, which is -- used to rewrite interface files on the fly when we -- are doing indefinite typechecking and need instantiations diff --git a/compiler/GHC/Iface/Tidy.hs b/compiler/GHC/Iface/Tidy.hs index 1a7f9f0026..6f3a104925 100644 --- a/compiler/GHC/Iface/Tidy.hs +++ b/compiler/GHC/Iface/Tidy.hs @@ -6,6 +6,8 @@ {-# LANGUAGE CPP, DeriveFunctor, ViewPatterns #-} +{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-} + module GHC.Iface.Tidy ( mkBootModDetailsTc, tidyProgram ) where |