From c75125fcce8618229ca973dc3360ffa8c6cb9648 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Sat, 14 May 2011 18:56:44 -0700 Subject: [PATCH] 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... --- src/comp/middle/metadata.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/comp/middle/metadata.rs b/src/comp/middle/metadata.rs index b307842412da..0078c20df70b 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.