[commit: testsuite] master: Add stderr output (7dfb38d)

Simon Peyton Jones simonpj at microsoft.com
Tue May 21 13:32:48 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

https://github.com/ghc/testsuite/commit/7dfb38dd47ae60b3e17cf20018367c67436e1bee

>---------------------------------------------------------------

commit 7dfb38dd47ae60b3e17cf20018367c67436e1bee
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue May 21 12:31:55 2013 +0100

    Add stderr output

>---------------------------------------------------------------

 tests/typecheck/should_run/T7861.stderr |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/tests/typecheck/should_run/T7861.stderr b/tests/typecheck/should_run/T7861.stderr
index 0519ecb..e44666d 100644
--- a/tests/typecheck/should_run/T7861.stderr
+++ b/tests/typecheck/should_run/T7861.stderr
@@ -1 +1,10 @@
- 
\ No newline at end of file
+T7861: T7861.hs:11:5:
+    Couldn't match type ‛a’ with ‛[a0]’
+      ‛a’ is a rigid type variable bound by
+          the type signature for f :: A a -> a at T7861.hs:10:6
+    Expected type: A a -> a
+      Actual type: A a0 -> [a0]
+    Relevant bindings include f :: A a -> a (bound at T7861.hs:11:1)
+    In the expression: doA
+    In an equation for ‛f’: f = doA
+(deferred type error)





More information about the ghc-commits mailing list