1
Fork 0

test: More run-pass test fixes

This commit is contained in:
Patrick Walton 2012-12-05 16:51:32 -08:00
parent 7a065f2434
commit 6084032270
29 changed files with 47 additions and 45 deletions

View file

@ -8,7 +8,7 @@ pub struct MyInt {
}
pub impl MyInt : Add<MyInt, MyInt> {
pure fn add(other: &MyInt) -> MyInt { mi(self.val + other.val) }
pure fn add(&self, other: &MyInt) -> MyInt { mi(self.val + other.val) }
}
pub impl MyInt : Sub<MyInt, MyInt> {