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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/403bb183aec19ab252e1d3251e7ecc725d7dad3f

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

commit 403bb183aec19ab252e1d3251e7ecc725d7dad3f
Author: Simon Peyton Jones <[email protected]>
Date:   Thu Sep 29 15:55:47 2011 +0100

    T5481 should jolly well fail

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

 .../should_compile/T5481.stderr}                   |    6 +++---
 tests/typecheck/should_compile/all.T               |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/indexed-types/should_fail/T5515.stderr 
b/tests/typecheck/should_compile/T5481.stderr
similarity index 86%
copy from tests/indexed-types/should_fail/T5515.stderr
copy to tests/typecheck/should_compile/T5481.stderr
index e1d7979..34eb747 100644
--- a/tests/indexed-types/should_fail/T5515.stderr
+++ b/tests/typecheck/should_compile/T5481.stderr
@@ -1,8 +1,8 @@
 
-T5515.hs:9:3:
-    The RHS of an associated type declaration mentions type variable `a'
+T5481.hs:6:5:
+    The RHS of an associated type declaration mentions type variable `b'
       All such variables must be bound on the LHS
 
-T5515.hs:15:3:
+T5481.hs:8:5:
     The RHS of an associated type declaration mentions type variable `a'
       All such variables must be bound on the LHS
diff --git a/tests/typecheck/should_compile/all.T 
b/tests/typecheck/should_compile/all.T
index 7621490..a38bf69 100644
--- a/tests/typecheck/should_compile/all.T
+++ b/tests/typecheck/should_compile/all.T
@@ -358,6 +358,6 @@ test('T5051', normal, compile, [''])
 test('T3018', normal, compile, [''])
 test('T5032', normal, compile, [''])
 test('T2357', normal, compile, [''])
-test('T5481', normal, compile, [''])
+test('T5481', normal, compile_fail, [''])
 test('T3743', normal, compile, [''])
 test('T5490', normal, compile, [''])



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

Reply via email to