rustc: Migrate core AST types to interior vectors

This commit is contained in:
Patrick Walton 2011-07-06 16:01:47 -07:00
parent aad0bcc8d5
commit c83782f500
3 changed files with 32 additions and 12 deletions

View file

@ -334,7 +334,7 @@ type ty_arg_ = rec(mode mode, @ty ty);
type ty_method_ =
rec(proto proto,
ident ident,
vec[ty_arg] inputs,
ty_arg[] inputs,
@ty output,
controlflow cf,
vec[@constr] constrs);
@ -402,9 +402,9 @@ tag ty_ {
ty_port(@ty);
ty_chan(@ty);
ty_tup(mt[]);
ty_rec(vec[ty_field]);
ty_fn(proto, vec[ty_arg], @ty, controlflow, vec[@constr]);
ty_obj(vec[ty_method]);
ty_rec(ty_field[]);
ty_fn(proto, ty_arg[], @ty, controlflow, vec[@constr]);
ty_obj(ty_method[]);
ty_path(path, node_id);
ty_type;
ty_constr(@ty, vec[@constr]);