summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T6054.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-04-30 16:35:03 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-04-30 16:35:03 +0100
commitb71f703d2a75dee0dbceab7102466183410e3a78 (patch)
tree4ca844b4848a8cddf29ac4af348fe612321a575d /testsuite/tests/polykinds/T6054.stderr
parent0021043415f6f3bac47f9047ac099fce6e337f71 (diff)
downloadhaskell-b71f703d2a75dee0dbceab7102466183410e3a78.tar.gz
Test Trac #6054
Diffstat (limited to 'testsuite/tests/polykinds/T6054.stderr')
-rw-r--r--testsuite/tests/polykinds/T6054.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T6054.stderr b/testsuite/tests/polykinds/T6054.stderr
new file mode 100644
index 0000000000..9b190ce4d8
--- /dev/null
+++ b/testsuite/tests/polykinds/T6054.stderr
@@ -0,0 +1,10 @@
+
+T6054.hs:7:14:
+ No instance for (Bar () '() a0)
+ arising from an expression type signature
+ Possible fix: add an instance declaration for (Bar () '() a0)
+ In the first argument of `print', namely
+ `(Proxy :: Bar () a => Proxy a)'
+ In the expression: print (Proxy :: Bar () a => Proxy a)
+ In an equation for `foo':
+ foo = print (Proxy :: Bar () a => Proxy a)