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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a37991430dc969d5c843800c003631b750efb262

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

commit a37991430dc969d5c843800c003631b750efb262
Author: Simon Peyton Jones <[email protected]>
Date:   Thu Apr 5 13:36:19 2012 +0100

    Accept improved error message

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

 tests/polykinds/PolyKinds02.stderr |    2 +-
 tests/th/T5971.stderr              |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/polykinds/PolyKinds02.stderr 
b/tests/polykinds/PolyKinds02.stderr
index 2ee85b5..3c61552 100644
--- a/tests/polykinds/PolyKinds02.stderr
+++ b/tests/polykinds/PolyKinds02.stderr
@@ -1,6 +1,6 @@
 
 PolyKinds02.hs:13:16:
     Kind mis-match
-    The second argument of `Vec' should have kind 'Nat,
+    The second argument of `Vec' should have kind `Nat',
     but `Nat' has kind `*'
     In the type signature for `vec': vec :: Vec Nat Nat
diff --git a/tests/th/T5971.stderr b/tests/th/T5971.stderr
index 23e6b8d..2ad5439 100644
--- a/tests/th/T5971.stderr
+++ b/tests/th/T5971.stderr
@@ -1,7 +1,9 @@
 
 T5971.hs:6:7:
     The exact Name `x' is not in scope
-      Probable cause: you used a unique name (NameU) in Template Haskell but 
did not bind it
+      Probable cause: you used a unique name (NameU), perhaps via newName,
+      in Template Haskell, but did not bind it
+      If that's it, then -ddump-splices might be useful
     In the result of the splice:
       $(newName "x" >>= varE)
     To see what the splice expanded to, use -ddump-splices



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to