Skip to content

Commit 50a84b9

Browse files
committed
---
yaml --- r: 2711 b: refs/heads/master c: d82e9c1 h: refs/heads/master i: 2709: daf857c 2707: cac0acb 2703: e4392bb v: v3
1 parent 3e6093b commit 50a84b9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 420d18a448b0e73904d479f7ef9206712d8b1938
2+
refs/heads/master: d82e9c1874a09ab1ab443fcee04d42220e21cb7f

trunk/src/comp/middle/typeck.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,6 +2235,8 @@ fn check_expr(&@stmt_ctxt scx, &@ast::expr expr) {
22352235

22362236
Pushdown::pushdown_expr(scx, pattern_ty, expr);
22372237

2238+
// FIXME: If all the the arms were ty_bot then the result should
2239+
// also be ty_bot. At the moment this doesn't seem to matter
22382240
write::ty_only_fixup(scx, a.id, result_ty);
22392241
}
22402242

0 commit comments

Comments
 (0)