From 7a919da04ec9c4eb02c408afbd5a2bdb67a3dcb9 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Wed, 20 Jul 2011 12:43:57 -0700 Subject: [PATCH] Method overriding tests suddenly pass valgrind for some reason. I'm not sure if this is because of changes to glue generation in the last few days while I've been working on other things, or if it's a side effect of the improvements I made to typechecking for anonymous objects, or something else, but I guess I'll take it! Closes issue #543. --- src/test/run-pass/anon-obj-overriding-reduced.rs | 2 -- src/test/run-pass/anon-obj-overriding.rs | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/test/run-pass/anon-obj-overriding-reduced.rs b/src/test/run-pass/anon-obj-overriding-reduced.rs index 1b40c0484d2..3c1c62bae63 100644 --- a/src/test/run-pass/anon-obj-overriding-reduced.rs +++ b/src/test/run-pass/anon-obj-overriding-reduced.rs @@ -1,6 +1,4 @@ //xfail-stage0 -//xfail-stage1 -//xfail-stage2 // Reduced test case for issue #543. fn main() { diff --git a/src/test/run-pass/anon-obj-overriding.rs b/src/test/run-pass/anon-obj-overriding.rs index d71244cc313..2e86f57ad2c 100644 --- a/src/test/run-pass/anon-obj-overriding.rs +++ b/src/test/run-pass/anon-obj-overriding.rs @@ -1,6 +1,5 @@ //xfail-stage0 -//xfail-stage1 -//xfail-stage2 + use std; fn main() { @@ -25,7 +24,6 @@ fn main() { with my_a }; - // FIXME: raises a valgrind error (issue #543). assert (my_b.foo() == 3); assert (my_b.bar() == 3); }