summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T15872.stdout
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/T15872.stdout')
-rw-r--r--testsuite/tests/ghci/scripts/T15872.stdout9
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/tests/ghci/scripts/T15872.stdout b/testsuite/tests/ghci/scripts/T15872.stdout
index 623631162a..e1aa200425 100644
--- a/testsuite/tests/ghci/scripts/T15872.stdout
+++ b/testsuite/tests/ghci/scripts/T15872.stdout
@@ -1,5 +1,6 @@
MkFun :: (a -> b) -> Fun a b
Fun :: (a ~ 'OP) => * -> * -> *
+type Fun :: forall (a :: WHICH). (a ~ 'OP) => * -> * -> *
data Fun b c where
MkFun :: (b -> c) -> Fun b c
-- Defined at T15872.hs:11:1
@@ -7,10 +8,10 @@ MkFun
:: (a -> b) -> Fun @'OP @{'GHC.Types.Eq# @WHICH @'OP @'OP <>} a b
Fun :: ((a :: WHICH) ~ ('OP :: WHICH)) => * -> * -> *
type role Fun nominal nominal representational representational
-data Fun @(a :: WHICH)
- @{a1 :: (a :: WHICH) ~ ('OP :: WHICH)}
- b
- c where
+type Fun :: forall (a :: WHICH).
+ ((a :: WHICH) ~ ('OP :: WHICH)) =>
+ * -> * -> *
+data Fun @a @{a1} b c where
MkFun :: (b -> c)
-> Fun @'OP @{'GHC.Types.Eq# @WHICH @'OP @'OP <>} b c
-- Defined at T15872.hs:11:1