Fixing compile problems from recent changes.

This commit is contained in:
Eric Holk 2011-05-17 14:27:38 -07:00
parent cf02c67137
commit cff9a3cc2a
1 changed files with 2 additions and 2 deletions

View File

@ -1517,8 +1517,8 @@ mod Pushdown {
auto t = Demand::autoderef(fcx, e.span, expected,
ann_to_type(fcx.ccx.node_types, ann), adk);
e_1 = ast::expr_spawn(dom, name, func, args,
triv_ann(ast::ann_tag(ann), t));
write_type_only(fcx.ccx.node_types, ast::ann_tag(ann), t);
triv_ann(ann.id, t));
write_type_only(fcx.ccx.node_types, ann.id, t);
}
case (_) {