Skip to content

Commit 7a84584

Browse files
committed
---
yaml --- r: 2836 b: refs/heads/master c: 95e1aa1 h: refs/heads/master v: v3
1 parent 1e76649 commit 7a84584

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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: 9a24e4f78045bc32a9eec7c7486a9e0dc7b2b78f
2+
refs/heads/master: 95e1aa18c1290d087516bd417590a181300cfc6b

trunk/src/comp/middle/typeck.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,9 +2178,9 @@ fn check_expr(&@stmt_ctxt scx, &@ast::expr expr) {
21782178
alt (struct (scx.fcx.ccx.tcx,
21792179
expr_ty(scx.fcx.ccx.tcx, seq))) {
21802180
// FIXME: I include the check_for_or_each call in
2181-
// each case because of a bug in typestate;
2182-
// once that bug is fixed, the call can be moved
2183-
// out of the alt expression
2181+
// each case because of a bug in typestate.
2182+
// The bug is fixed; once there's a new snapshot,
2183+
// the call can be moved out of the alt expression
21842184
case (ty::ty_vec(?vec_elt_ty)) {
21852185
auto elt_ty = vec_elt_ty.ty;
21862186
check_for_or_for_each(scx, decl, elt_ty, body, a.id);

0 commit comments

Comments
 (0)