diff options
| author | Patrick Walton <[email protected]> | 2010-12-01 15:27:38 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-12-01 15:27:38 -0800 |
| commit | fd600bad4666758088ec69a355a0dbd86bb11c22 (patch) | |
| tree | 5d5d69c08aa4635575da7b825a19c13298167640 /src/comp/front/ast.rs | |
| parent | rustc: Typecheck tag constructors (diff) | |
| download | rust-fd600bad4666758088ec69a355a0dbd86bb11c22.tar.xz rust-fd600bad4666758088ec69a355a0dbd86bb11c22.zip | |
rustc: Annotate variants with their types. This may be useful for trans!
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 06e80d7b..4fbc4f01 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -183,7 +183,7 @@ tag mod_index_entry { type _mod = rec(vec[@item] items, hashmap[ident,mod_index_entry] index); -type variant = rec(str name, vec[@ty] args, def_id id); +type variant = rec(str name, vec[@ty] args, def_id id, ann ann); type item = spanned[item_]; tag item_ { |