summaryrefslogtreecommitdiff
path: root/compiler/GHC/HsToCore/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/HsToCore/Types.hs')
-rw-r--r--compiler/GHC/HsToCore/Types.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/GHC/HsToCore/Types.hs b/compiler/GHC/HsToCore/Types.hs
index f1c1f98bc6..d3e7f2ddbd 100644
--- a/compiler/GHC/HsToCore/Types.hs
+++ b/compiler/GHC/HsToCore/Types.hs
@@ -1,5 +1,10 @@
{-# LANGUAGE TypeFamilies, UndecidableInstances #-}
+{-# OPTIONS_GHC -Wno-orphans #-}
+ -- Don't warn that `type instance DsForeignsHooks = ...`
+ -- is an orphan; see Note [The Decoupling Abstract Data Hack]
+ -- in GHC.Driver.Hooks
+
-- | Various types used during desugaring.
module GHC.HsToCore.Types (
DsM, DsLclEnv(..), DsGblEnv(..),