aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-11-24 17:15:54 -0800
committerPatrick Walton <[email protected]>2010-11-24 17:17:42 -0800
commit98e8c2ef21f6aab3dd3d4d328a1c8baf1f074ee4 (patch)
treed787591f3025c242b3dade19d8a1b2297bd243f0 /src/comp/front/ast.rs
parentSketch out type-directed structural drop and copy, including vector types. (diff)
downloadrust-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.rs2
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);
}