diff options
| author | Graydon Hoare <[email protected]> | 2010-11-29 15:42:09 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-29 15:42:09 -0800 |
| commit | e6b7f763853d0d847288111e7050841e05a885f4 (patch) | |
| tree | 50d5ac8828cf4c5889e944848bee55229e810430 /src/comp/front/ast.rs | |
| parent | Change mutability into a type constructor. (diff) | |
| download | rust-e6b7f763853d0d847288111e7050841e05a885f4.tar.xz rust-e6b7f763853d0d847288111e7050841e05a885f4.zip | |
Add ty_rec and parse it.
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 3b1a31b8..f90f8df6 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -153,6 +153,7 @@ tag ty_ { ty_box(@ty); ty_vec(@ty); ty_tup(vec[@ty]); + ty_rec(vec[tup(ident,@ty)]); ty_fn(vec[rec(mode mode, @ty ty)], @ty); // TODO: effect ty_path(path, option.t[def]); ty_mutable(@ty); |