aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-12-16 18:34:04 -0800
committerGraydon Hoare <[email protected]>2010-12-16 18:34:04 -0800
commita3f828f941439276092fe1c0d091de746d35d42e (patch)
tree6b026fc59a64ac7b89d680d4fce2278f780eba58 /src/comp/front/ast.rs
parentrustc: Translate parametric function signatures into task + type parameters +... (diff)
downloadrust-a3f828f941439276092fe1c0d091de746d35d42e.tar.xz
rust-a3f828f941439276092fe1c0d091de746d35d42e.zip
Sketch trans_vtbl.
Diffstat (limited to 'src/comp/front/ast.rs')
-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 88b7fc78..f4e5e5e1 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -199,10 +199,10 @@ type _fn = rec(effect effect,
block body);
-type method_ = rec(ident ident, _fn meth, def_id id);
+type method_ = rec(ident ident, _fn meth, def_id id, ann ann);
type method = spanned[method_];
-type obj_field = rec(@ty ty, ident ident, def_id id);
+type obj_field = rec(@ty ty, ident ident, def_id id, ann ann);
type _obj = rec(vec[obj_field] fields,
vec[@method] methods);