summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-12-29 21:11:28 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-20 21:56:13 -0500
commitc5ec996583373025488c090fb2c89f7bda38c1cb (patch)
tree8dcc0374bb445c6b80fcd72880ef3659c9d89d7e
parentf44c7e6723498c5dde0cd78e4af26142a14d98f4 (diff)
downloadhaskell-c5ec996583373025488c090fb2c89f7bda38c1cb.tar.gz
GHC.Hs.Extension: Use Type instead of *
-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))
{-