rustc: Remove comment dating back to the rustboot days from typeck

This commit is contained in:
Patrick Walton 2011-06-09 14:19:04 -07:00
parent c7ca08d1b6
commit efcf8570f0

View file

@ -1932,7 +1932,7 @@ fn check_expr(&@fn_ctxt fcx, &@ast::expr expr) {
check_call(fcx, expr.span, f, args);
// Pull the return type out of the type of the function.
auto rt_1; // = ty::mk_nil(fcx.ccx.tcx); // FIXME: typestate botch
auto rt_1;
auto fty = ty::expr_ty(fcx.ccx.tcx, f);
alt (structure_of(fcx, expr.span, fty)) {
case (ty::ty_fn(_,_,?rt,_, _)) { rt_1 = rt; }