summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T15552a.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T15552a.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T15552a.stderr21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T15552a.stderr b/testsuite/tests/typecheck/should_fail/T15552a.stderr
new file mode 100644
index 0000000000..f24c6d1285
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T15552a.stderr
@@ -0,0 +1,21 @@
+
+T15552a.hs:25:9: error:
+ • Illegal nested type family application ‘EntryOfValKey
+ (FirstEntryOfVal v kvs)’
+ (Use UndecidableInstances to permit this)
+ • In the equations for closed type family ‘FirstEntryOfVal’
+ In the type family declaration for ‘FirstEntryOfVal’
+
+T15552a.hs:25:9: error:
+ • Illegal nested type family application ‘EntryOfValKey
+ (FirstEntryOfVal v kvs)’
+ (Use UndecidableInstances to permit this)
+ • In the equations for closed type family ‘FirstEntryOfVal’
+ In the type family declaration for ‘FirstEntryOfVal’
+
+T15552a.hs:25:9: error:
+ • Illegal nested type family application ‘GetEntryOfVal
+ (FirstEntryOfVal v kvs)’
+ (Use UndecidableInstances to permit this)
+ • In the equations for closed type family ‘FirstEntryOfVal’
+ In the type family declaration for ‘FirstEntryOfVal’