rustc: Add a slot for explicit type parameter instantations to the typechecker's AST annotation

This commit is contained in:
Patrick Walton 2011-03-08 12:42:56 -08:00
parent e2f6f19fc8
commit 4654faa67c
4 changed files with 122 additions and 81 deletions

View file

@ -21,7 +21,7 @@ type ty_param = rec(ident ident, def_id id);
// Annotations added during successive passes.
tag ann {
ann_none;
ann_type(@middle.ty.t);
ann_type(@middle.ty.t, option.t[vec[@middle.ty.t]] /* ty param substs */);
}
tag def {