librustc: Make a.b() always a method call. r=nmatsakis

This commit is contained in:
Patrick Walton
2012-11-30 11:18:25 -08:00
parent 54ae377ec2
commit f34833abfc
24 changed files with 413 additions and 97 deletions

View File

@@ -1047,7 +1047,7 @@ pub mod fsync {
option::None => (),
option::Some(level) => {
// fail hard if not succesful
assert(self.arg.fsync_fn(self.arg.val, level) != -1);
assert((self.arg.fsync_fn)(self.arg.val, level) != -1);
}
}
}