aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-03-10 22:58:55 -0500
committerGraydon Hoare <[email protected]>2011-03-14 16:41:46 -0700
commit7464237256990c4a346cbaaa7ce3d2d9e8fe8d5c (patch)
treea15721e61a7ba9fa223bed4ff0cb2a17cb8640f5 /src/comp/front
parentFold ty_chan and ty_port (diff)
downloadrust-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.rs4
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;