summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/GHC/Hs/Extension.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Hs/Extension.hs b/compiler/GHC/Hs/Extension.hs
index ee82e4a0f9..cde29509c5 100644
--- a/compiler/GHC/Hs/Extension.hs
+++ b/compiler/GHC/Hs/Extension.hs
@@ -169,7 +169,7 @@ noExtCon x = case x of {}
-- | GHC's L prefixed variants wrap their vanilla variant in this type family,
-- to add 'SrcLoc' info via 'Located'. Other passes than 'GhcPass' not
-- interested in location information can define this instance as @f p@.
-type family XRec p (f :: * -> *) = r | r -> p f
+type family XRec p (f :: Type -> Type) = r | r -> p f
type instance XRec (GhcPass p) f = Located (f (GhcPass p))
{-