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...

This commit is contained in:
Tim Chevalier 2011-05-14 18:56:44 -07:00
parent 251cbaba63
commit c75125fcce

View file

@ -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.