diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-04-30 16:35:03 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-04-30 16:35:03 +0100 |
commit | b71f703d2a75dee0dbceab7102466183410e3a78 (patch) | |
tree | 4ca844b4848a8cddf29ac4af348fe612321a575d /testsuite/tests/polykinds/T6054.stderr | |
parent | 0021043415f6f3bac47f9047ac099fce6e337f71 (diff) | |
download | haskell-b71f703d2a75dee0dbceab7102466183410e3a78.tar.gz |
Test Trac #6054
Diffstat (limited to 'testsuite/tests/polykinds/T6054.stderr')
-rw-r--r-- | testsuite/tests/polykinds/T6054.stderr | 10 |
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) |