rustc: Add a FIXME to expr_alt type checking
This commit is contained in:
parent
420d18a448
commit
d82e9c1874
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue