diff options
| author | Patrick Walton <[email protected]> | 2010-11-24 17:15:54 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-11-24 17:17:42 -0800 |
| commit | 98e8c2ef21f6aab3dd3d4d328a1c8baf1f074ee4 (patch) | |
| tree | d787591f3025c242b3dade19d8a1b2297bd243f0 /src/comp/front/ast.rs | |
| parent | Sketch out type-directed structural drop and copy, including vector types. (diff) | |
| download | rust-98e8c2ef21f6aab3dd3d4d328a1c8baf1f074ee4.tar.xz rust-98e8c2ef21f6aab3dd3d4d328a1c8baf1f074ee4.zip | |
rustc: Parse type-parametric tags
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 3bc2fe16..800d9794 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -171,7 +171,7 @@ tag item_ { item_fn(ident, _fn, vec[ty_param], def_id, ann); item_mod(ident, _mod, def_id); item_ty(ident, @ty, def_id, ann); - item_tag(ident, vec[variant], def_id); + item_tag(ident, vec[variant], vec[ty_param], def_id); } |