summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/TyThing.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-10-30 12:26:24 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-31 02:55:50 -0400
commit08e6993a1b956e6edccdc1cecc7250b724bf79a0 (patch)
treeeb952d83f464915f534df80ff6a2f747245e07a7 /compiler/GHC/Types/TyThing.hs
parentb4278a41a18132a981b25c59b296cdf3ba970024 (diff)
downloadhaskell-08e6993a1b956e6edccdc1cecc7250b724bf79a0.tar.gz
Move loadDecl into IfaceToCore
Diffstat (limited to 'compiler/GHC/Types/TyThing.hs')
-rw-r--r--compiler/GHC/Types/TyThing.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Types/TyThing.hs b/compiler/GHC/Types/TyThing.hs
index eebcf3796d..d9c1bad013 100644
--- a/compiler/GHC/Types/TyThing.hs
+++ b/compiler/GHC/Types/TyThing.hs
@@ -138,7 +138,8 @@ Examples:
-- N.B. the set of TyThings returned here *must* match the set of
-- names returned by 'GHC.Iface.Load.ifaceDeclImplicitBndrs', in the sense that
-- TyThing.getOccName should define a bijection between the two lists.
--- This invariant is used in 'GHC.Iface.Load.loadDecl' (see note [Tricky iface loop])
+-- This invariant is used in 'GHC.IfaceToCore.tc_iface_decl_fingerprint' (see
+-- note [Tricky iface loop])
-- The order of the list does not matter.
implicitTyThings :: TyThing -> [TyThing]
implicitTyThings (AnId _) = []