summary refs log tree commit diff
path: root/src/comp/front
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2011-04-22 17:00:46 -0700
committerPatrick Walton <pcwalton@mimiga.net>2011-04-22 17:00:46 -0700
commite0eccaddb2bad87993505fffc523a47b68018e64 (patch)
tree9cbc2786de5bf19b959c22c5b4606a3d2809c90e /src/comp/front
parent3d62c9adf35e8685f131be50afbcc711bb43cf60 (diff)
downloadrust-e0eccaddb2bad87993505fffc523a47b68018e64.tar.gz
rust-e0eccaddb2bad87993505fffc523a47b68018e64.zip
rustc: Thread the type store through everything that needs to access type structures
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/creader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs
index 857ed2d3ae2..99dbf6ad2f8 100644
--- a/src/comp/front/creader.rs
+++ b/src/comp/front/creader.rs
@@ -546,7 +546,7 @@ fn get_tag_variants(session.session sess,
         auto item = find_item(did._1, items);
         auto ctor_ty = item_type(item, external_crate_id, tystore);
         let vec[ty.t] arg_tys = vec();
-        alt (ty.struct(ctor_ty)) {
+        alt (ty.struct(tystore, ctor_ty)) {
             case (ty.ty_fn(_, ?args, _)) {
                 for (ty.arg a in args) {
                     arg_tys += vec(a.ty);