Skip to content

Commit ea2e672

Browse files
committed
---
yaml --- r: 2705 b: refs/heads/master c: 085fb1a h: refs/heads/master i: 2703: e4392bb v: v3
1 parent 2fbd929 commit ea2e672

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
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: b62bf8cede38cf8a3baac83885436e13944b4950
2+
refs/heads/master: 085fb1a2db2f8d77e215571151c323433a5c6381

trunk/src/comp/middle/trans.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3697,8 +3697,6 @@ fn trans_if(&@block_ctxt cx, &@ast::expr cond,
36973697
}
36983698
}
36993699

3700-
// If we have an else expression, then the entire
3701-
// if expression can have a non-nil type.
37023700
// FIXME: This isn't quite right, particularly re: dynamic types
37033701
auto expr_ty = ty::ann_to_type(cx.fcx.lcx.ccx.tcx.node_types,
37043702
ann);

0 commit comments

Comments
 (0)