diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-12-13 13:19:56 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-12-16 11:46:57 +0100 |
| commit | 888bc80025262286f2270442cea86e20e60d5430 (patch) | |
| tree | a3669ada9d5903e378b0a44c5ff608dfe0234779 /src/comp/syntax/ast.rs | |
| parent | d5af61d6799ee8c1af583ba1fed0b9e3ce162f2c (diff) | |
| download | rust-888bc80025262286f2270442cea86e20e60d5430.tar.gz rust-888bc80025262286f2270442cea86e20e60d5430.zip | |
Parse and resolve implementations.
Issue #1227
Diffstat (limited to 'src/comp/syntax/ast.rs')
| -rw-r--r-- | src/comp/syntax/ast.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index f05751ae081..0672e9de5c7 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -33,9 +33,8 @@ tag def { def_const(def_id); def_arg(def_id, mode); def_local(def_id, let_style); - def_variant(def_id, /* tag */def_id); - - /* variant */ + def_variant(def_id /* tag */, def_id /* variant */); + def_self(def_id); def_ty(def_id); def_ty_param(uint, kind); def_binding(def_id); @@ -507,6 +506,7 @@ tag item_ { node_id /* dtor id */, [ty_param], node_id /* ctor id */); + item_impl(@path /* iface */, @ty /* self */, [@method]); } type native_item = |
