summaryrefslogtreecommitdiff
path: root/compiler/GHC/IfaceToCore.hs-boot
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/IfaceToCore.hs-boot
parentb4278a41a18132a981b25c59b296cdf3ba970024 (diff)
downloadhaskell-08e6993a1b956e6edccdc1cecc7250b724bf79a0.tar.gz
Move loadDecl into IfaceToCore
Diffstat (limited to 'compiler/GHC/IfaceToCore.hs-boot')
-rw-r--r--compiler/GHC/IfaceToCore.hs-boot3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/GHC/IfaceToCore.hs-boot b/compiler/GHC/IfaceToCore.hs-boot
index 96daafae3c..c21c4a3acb 100644
--- a/compiler/GHC/IfaceToCore.hs-boot
+++ b/compiler/GHC/IfaceToCore.hs-boot
@@ -10,6 +10,8 @@ import GHC.Core.FamInstEnv ( FamInst )
import GHC.Core ( CoreRule )
import GHC.Types.CompleteMatch ( CompleteMatch )
import GHC.Types.Annotations ( Annotation )
+import GHC.Types.Name
+import GHC.Fingerprint.Type
tcIfaceDecl :: Bool -> IfaceDecl -> IfL TyThing
tcIfaceRules :: Bool -> [IfaceRule] -> IfL [CoreRule]
@@ -17,3 +19,4 @@ tcIfaceInst :: IfaceClsInst -> IfL ClsInst
tcIfaceFamInst :: IfaceFamInst -> IfL FamInst
tcIfaceAnnotations :: [IfaceAnnotation] -> IfL [Annotation]
tcIfaceCompleteMatches :: [IfaceCompleteMatch] -> IfL [CompleteMatch]
+tcIfaceDecls :: Bool -> [(Fingerprint, IfaceDecl)] -> IfL [(Name,TyThing)]