diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/VisFlag2.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/VisFlag2.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/VisFlag2.stderr b/testsuite/tests/typecheck/should_fail/VisFlag2.stderr new file mode 100644 index 0000000000..efe0bd6fa2 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/VisFlag2.stderr @@ -0,0 +1,14 @@ + +VisFlag2.hs:13:21: error: [GHC-25115] + • Visibilities of forall-bound variables are not compatible + Expected: * -> forall a -> a + Actual: * -> forall a. a + • In the type ‘Invis’ + In the type instance declaration for ‘Vis’ + +VisFlag2.hs:14:23: error: [GHC-25115] + • Visibilities of forall-bound variables are not compatible + Expected: * -> forall a. a + Actual: * -> forall a -> a + • In the type ‘Vis’ + In the type instance declaration for ‘Invis’ |