From cff9a3cc2aa56b8e86b646ec228854c1f2169eb3 Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Tue, 17 May 2011 14:27:38 -0700 Subject: [PATCH] Fixing compile problems from recent changes. --- src/comp/middle/typeck.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/comp/middle/typeck.rs b/src/comp/middle/typeck.rs index a1b2607ff02..6ed2dd238b2 100644 --- a/src/comp/middle/typeck.rs +++ b/src/comp/middle/typeck.rs @@ -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 (_) {