diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T16059e.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T16059e.stderr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T16059e.stderr b/testsuite/tests/typecheck/should_fail/T16059e.stderr new file mode 100644 index 0000000000..f5a6bb00ba --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/T16059e.stderr @@ -0,0 +1,7 @@ + +T16059e.hs:14:6: error: + • Illegal polymorphic type: forall a. a + Perhaps you intended to use RankNTypes + • In the expansion of type synonym ‘Foo’ + In the expansion of type synonym ‘Const’ + In the type signature: g :: Const Foo Foo -> Int |