diff options
| author | Lindsey Kuper <[email protected]> | 2011-05-11 12:04:58 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-05-13 17:35:13 -0700 |
| commit | d3242b9644bb32f9a74be845518067566e2f36a7 (patch) | |
| tree | 60d52552c54048712d05e75f5fb053fd43bc8edf /src/test | |
| parent | More progress on anonymous objects. (diff) | |
| download | rust-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.rs | 2 |
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 } ; |