diff options
| author | Brian Anderson <[email protected]> | 2011-03-10 22:58:55 -0500 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-14 16:41:46 -0700 |
| commit | 7464237256990c4a346cbaaa7ce3d2d9e8fe8d5c (patch) | |
| tree | a15721e61a7ba9fa223bed4ff0cb2a17cb8640f5 /src/comp/front | |
| parent | Fold ty_chan and ty_port (diff) | |
| download | rust-7464237256990c4a346cbaaa7ce3d2d9e8fe8d5c.tar.xz rust-7464237256990c4a346cbaaa7ce3d2d9e8fe8d5c.zip | |
Add folding and type checking for ports and chans
Diffstat (limited to 'src/comp/front')
| -rw-r--r-- | src/comp/front/ast.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index edc9c4a2..d768f935 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -278,12 +278,12 @@ tag ty_ { ty_str; ty_box(@ty); ty_vec(@ty); + ty_port(@ty); + ty_chan(@ty); ty_tup(vec[@ty]); ty_rec(vec[ty_field]); ty_fn(proto, vec[ty_arg], @ty); // TODO: effect ty_obj(vec[ty_method]); - ty_chan(@ty); - ty_port(@ty); ty_path(path, option.t[def]); ty_mutable(@ty); ty_type; |