summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Hooks.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Hooks.hs')
-rw-r--r--compiler/GHC/Driver/Hooks.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Hooks.hs b/compiler/GHC/Driver/Hooks.hs
index a6458d7738..7608890ce7 100644
--- a/compiler/GHC/Driver/Hooks.hs
+++ b/compiler/GHC/Driver/Hooks.hs
@@ -121,6 +121,9 @@ In doing so, the Hooks module (which is an hs-boot dependency of DynFlags) can
be decoupled from its use of the DsM definition in GHC.HsToCore.Types. Since
both DsM and the definition of @ForeignsHook@ live in the same module, there is
virtually no difference for plugin authors that want to write a foreign hook.
+
+An awkward consequences is that the `type instance DsForeignsHook`, in
+GHC.HsToCore.Types is an orphan instance.
-}
-- See Note [The Decoupling Abstract Data Hack]