Skip to content

Commit a96405f

Browse files
committed
---
yaml --- r: 11770 b: refs/heads/master c: 98260a2 h: refs/heads/master v: v3
1 parent e7827aa commit a96405f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e34fad750359a3e72bb7b357432341b3d3f28c86
2+
refs/heads/master: 98260a2a22ab693f2363c68339cf5bb9fca011ab
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rustc/middle/tstate/states.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ fn find_pre_post_state_expr(fcx: fn_ctxt, pres: prestate, e: @expr) -> bool {
554554
ret changed | set_poststate_ann(fcx.ccx, e.id, pres);
555555
} else {
556556
ret changed | set_poststate_ann(fcx.ccx, e.id,
557-
block_poststate(fcx.ccx, body));
557+
false_postcond(num_constrs));
558558
}
559559
}
560560
expr_for(d, index, body) {

trunk/src/test/compile-fail/while-loop-pred-constraints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ fn main() {
1111
check (even(y));
1212
loop {
1313
print_even(y);
14-
loop { loop { loop { y += x; } } }
14+
while true { while true { while true { y += x; } } }
1515
}
1616
}

0 commit comments

Comments
 (0)