diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr')
-rw-r--r-- | testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr b/testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr new file mode 100644 index 0000000000..2fc8e1b078 --- /dev/null +++ b/testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr @@ -0,0 +1,18 @@ + +TyFamUndec.hs:6:1: + Variable occurs more often than in instance head + in the type family application: T (b, b) + (Use -XUndecidableInstances to permit this) + In the type synonym instance declaration for `T' + +TyFamUndec.hs:7:1: + Application is no smaller than the instance head + in the type family application: T (a, Maybe b) + (Use -XUndecidableInstances to permit this) + In the type synonym instance declaration for `T' + +TyFamUndec.hs:8:1: + Nested type family application + in the type family application: T (a, T b) + (Use -XUndecidableInstances to permit this) + In the type synonym instance declaration for `T' |