Skip to content

Commit 7a919da

Browse files
committed
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.
1 parent 94f2a7b commit 7a919da

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/test/run-pass/anon-obj-overriding-reduced.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
//xfail-stage0
2-
//xfail-stage1
3-
//xfail-stage2
42

53
// Reduced test case for issue #543.
64
fn main() {

src/test/run-pass/anon-obj-overriding.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//xfail-stage0
2-
//xfail-stage1
3-
//xfail-stage2
2+
43
use std;
54

65
fn main() {
@@ -25,7 +24,6 @@ fn main() {
2524
with my_a
2625
};
2726

28-
// FIXME: raises a valgrind error (issue #543).
2927
assert (my_b.foo() == 3);
3028
assert (my_b.bar() == 3);
3129
}

0 commit comments

Comments
 (0)