about summary refs log tree commit diff
path: root/src/comp/middle
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-05-14 18:56:44 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-05-16 16:13:11 -0700
commitc75125fcce8618229ca973dc3360ffa8c6cb9648 (patch)
tree07aaf14fdb150ecef08068e0831ab2f24d483e65 /src/comp/middle
parent251cbaba63871e6bb4908f8f07344e8bab250e76 (diff)
downloadrust-c75125fcce8618229ca973dc3360ffa8c6cb9648.tar.gz
rust-c75125fcce8618229ca973dc3360ffa8c6cb9648.zip
Noticed that metadata::Encode::enc_sty didn't have a case for ty_task, so I added one (though this wasn't causing the problem I was seeing...
Diffstat (limited to 'src/comp/middle')
-rw-r--r--src/comp/middle/metadata.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/middle/metadata.rs b/src/comp/middle/metadata.rs
index b307842412d..0078c20df70 100644
--- a/src/comp/middle/metadata.rs
+++ b/src/comp/middle/metadata.rs
@@ -228,6 +228,7 @@ mod Encode {
                 w.write_str(common::uistr(id));
             }
             case (ty::ty_type) {w.write_char('Y');}
+            case (ty::ty_task) {w.write_char('a');}
 
             // These two don't appear in crate metadata, but are here because
             // `hash_ty()` uses this function.