diff options
| author | Patrick Walton <[email protected]> | 2011-05-13 12:12:54 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-05-13 12:12:54 -0700 |
| commit | be9aa1cc5ecb59c62a80db9e5be355deac90d08e (patch) | |
| tree | 7716fda501a2f4055dbe349bf0fbd9ec682f88cf /src/comp/middle/ty.rs | |
| parent | rustc: Remove a minor rustboot workaround in typeck::resolve_local_types_in_b... (diff) | |
| download | rust-be9aa1cc5ecb59c62a80db9e5be355deac90d08e.tar.xz rust-be9aa1cc5ecb59c62a80db9e5be355deac90d08e.zip | |
rustc: Fix the type of node_types; stub the write_type function
Diffstat (limited to 'src/comp/middle/ty.rs')
| -rw-r--r-- | src/comp/middle/ty.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/middle/ty.rs b/src/comp/middle/ty.rs index ccbbeed0..388eed21 100644 --- a/src/comp/middle/ty.rs +++ b/src/comp/middle/ty.rs @@ -162,7 +162,8 @@ const uint idx_first_others = 20u; type type_store = rec(mutable vec[raw_t] others, hashmap[raw_t,uint] other_structural); -type node_type_table = vec[ty::ty_param_count_and_ty]; +type ty_param_substs_opt_and_ty = tup(option::t[vec[ty::t]], ty::t); +type node_type_table = vec[mutable option::t[ty::ty_param_substs_opt_and_ty]]; fn mk_type_store() -> @type_store { let vec[raw_t] others = vec(); |