diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-10-30 12:26:24 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-10-31 02:55:50 -0400 |
commit | 08e6993a1b956e6edccdc1cecc7250b724bf79a0 (patch) | |
tree | eb952d83f464915f534df80ff6a2f747245e07a7 /compiler/GHC/Types/TyThing.hs | |
parent | b4278a41a18132a981b25c59b296cdf3ba970024 (diff) | |
download | haskell-08e6993a1b956e6edccdc1cecc7250b724bf79a0.tar.gz |
Move loadDecl into IfaceToCore
Diffstat (limited to 'compiler/GHC/Types/TyThing.hs')
-rw-r--r-- | compiler/GHC/Types/TyThing.hs | 3 |
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 _) = [] |