Skip to content

Commit 2c97080

Browse files
committed
---
yaml --- r: 4318 b: refs/heads/master c: 8d8ff16 h: refs/heads/master v: v3
1 parent 287d493 commit 2c97080

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-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: 5cf5f5024d5efcbb0b399433fa2117e1146292c2
2+
refs/heads/master: 8d8ff16dfeca9681f6ad56749a143f10a736c76d

trunk/src/comp/middle/typeck.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,6 +2000,7 @@ fn check_expr(fcx: &@fn_ctxt, expr: &@ast::expr) -> bool {
20002000
}
20012001
}
20022002
bot |= !arm_non_bot;
2003+
if !arm_non_bot { result_ty = ty::mk_bot(fcx.ccx.tcx); }
20032004
write::ty_only_fixup(fcx, id, result_ty);
20042005
}
20052006
ast::expr_fn(f) {

0 commit comments

Comments
 (0)