summaryrefslogtreecommitdiff
path: root/compiler/GHC/Hs/Pat.hs-boot
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-12-29 23:46:52 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-20 21:56:13 -0500
commit89cb4cc4cc76f834b0bcc53fb551db706ef143b7 (patch)
treec1d16f85237abfa8ed866a17853a74367f065fca /compiler/GHC/Hs/Pat.hs-boot
parentc5ec996583373025488c090fb2c89f7bda38c1cb (diff)
downloadhaskell-89cb4cc4cc76f834b0bcc53fb551db706ef143b7.tar.gz
Use Type instead of * in GHC
Diffstat (limited to 'compiler/GHC/Hs/Pat.hs-boot')
-rw-r--r--compiler/GHC/Hs/Pat.hs-boot3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Hs/Pat.hs-boot b/compiler/GHC/Hs/Pat.hs-boot
index 1a1e6c4a2c..c7ff0a892e 100644
--- a/compiler/GHC/Hs/Pat.hs-boot
+++ b/compiler/GHC/Hs/Pat.hs-boot
@@ -11,9 +11,10 @@ module GHC.Hs.Pat where
import Outputable
import GHC.Hs.Extension ( OutputableBndrId, GhcPass, XRec )
+import Data.Kind
type role Pat nominal
-data Pat (i :: *)
+data Pat (i :: Type)
type LPat i = XRec i Pat
instance OutputableBndrId p => Outputable (Pat (GhcPass p))