From d3242b9644bb32f9a74be845518067566e2f36a7 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Wed, 11 May 2011 12:04:58 -0700 Subject: Bug fixes. Fixed infinite loop on anonymous objects in parser; added expr_anon_obj to walk.rs; fixed syntax of test case. --- src/test/run-pass/method-overriding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') 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 } ; -- cgit v1.2.3