summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T17355.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T17355.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T17355.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T17355.stderr b/testsuite/tests/typecheck/should_fail/T17355.stderr
new file mode 100644
index 0000000000..5212ef8787
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T17355.stderr
@@ -0,0 +1,9 @@
+
+T17355.hs:9:10: error:
+ • Illegal polymorphic type: forall a. a
+ • In the instance declaration for ‘Generic (forall a. a)’
+
+T17355.hs:10:10: error:
+ • Illegal polymorphic type: forall a. a -> a
+ • In the instance declaration for
+ ‘HasField "myPoly" Foo (forall a. a -> a)’