1
Fork 0

rustc: Add a FIXME to expr_alt type checking

This commit is contained in:
Brian Anderson 2011-05-21 18:35:21 -04:00
parent 420d18a448
commit d82e9c1874

View file

@ -2235,6 +2235,8 @@ fn check_expr(&@stmt_ctxt scx, &@ast::expr expr) {
Pushdown::pushdown_expr(scx, pattern_ty, expr);
// FIXME: If all the the arms were ty_bot then the result should
// also be ty_bot. At the moment this doesn't seem to matter
write::ty_only_fixup(scx, a.id, result_ty);
}