aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLindsey Kuper <[email protected]>2011-05-11 12:04:58 -0700
committerGraydon Hoare <[email protected]>2011-05-13 17:35:13 -0700
commitd3242b9644bb32f9a74be845518067566e2f36a7 (patch)
tree60d52552c54048712d05e75f5fb053fd43bc8edf /src/test
parentMore progress on anonymous objects. (diff)
downloadrust-d3242b9644bb32f9a74be845518067566e2f36a7.tar.xz
rust-d3242b9644bb32f9a74be845518067566e2f36a7.zip
Bug fixes.
Fixed infinite loop on anonymous objects in parser; added expr_anon_obj to walk.rs; fixed syntax of test case.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/method-overriding.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/method-overriding.rs b/src/test/run-pass/method-overriding.rs
index 3fbb53ff..c76123fe 100644
--- a/src/test/run-pass/method-overriding.rs
+++ b/src/test/run-pass/method-overriding.rs
@@ -24,7 +24,7 @@ fn main() {
};
// Extending an object with a new field
- auto my_c = obj(quux) { with my_a } ;
+ auto my_c = obj(int quux) { with my_a } ;
// Should this be legal?
auto my_d = obj() { with my_a } ;