diff options
| author | Patrick Walton <[email protected]> | 2011-05-13 17:53:42 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-05-13 17:55:07 -0700 |
| commit | ef75860a0a72f79f97216f8aaa5b388d98da6480 (patch) | |
| tree | 48a4b22a2dd685c05c310f5a647186bca59582d8 /src/comp/middle/typestate_check.rs | |
| parent | 'with' no longer a token; whitespace police. (diff) | |
| download | rust-master.tar.xz rust-master.zip | |
Diffstat (limited to 'src/comp/middle/typestate_check.rs')
| -rw-r--r-- | src/comp/middle/typestate_check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/typestate_check.rs b/src/comp/middle/typestate_check.rs index 2d46309a..c12d0273 100644 --- a/src/comp/middle/typestate_check.rs +++ b/src/comp/middle/typestate_check.rs @@ -2078,7 +2078,7 @@ fn init_block(&fn_info fi, &span sp, &block_ b) -> block { log("init_block: shouldn't see ann_none"); fail; } - case (ann_type(_, ?t,?ps,_)) { + case (ann_type(_, _, ?ps, _)) { auto fld0 = fold::new_identity_fold[fn_info](); fld0 = @rec(fold_ann = bind init_ann(_,_) with *fld0); |