diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T15079_fail_b.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T15079_fail_b.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T15079_fail_b.stderr b/testsuite/tests/typecheck/should_fail/T15079_fail_b.stderr new file mode 100644 index 0000000000..f99f557725 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/T15079_fail_b.stderr @@ -0,0 +1,11 @@ + +T15079_fail_b.hs:21:23: error: [GHC-11809] + • Couldn't match type ‘c0’ with ‘Coerce’ + Expected: c0 a -> Coerce b + Actual: c0 a -> c0 b + Visibility of forall-bound variables in kinds differs + c0 :: forall i. i -> * + Coerce :: forall {k}. k -> * + • In the first argument of ‘(.)’, namely ‘hsubst f’ + In the second argument of ‘(.)’, namely ‘hsubst f . Coerce’ + In the expression: uncoerce . hsubst f . Coerce |