diff options
| author | Graydon Hoare <[email protected]> | 2011-04-01 17:23:56 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-01 17:23:56 -0700 |
| commit | 23f18a096f9843595eff5e408653187f49114977 (patch) | |
| tree | 6da4f7e5724dc808264538466441277905ed6ce9 /src/comp/middle | |
| parent | Support for passing native types through metadata/creader. (diff) | |
| download | rust-23f18a096f9843595eff5e408653187f49114977.tar.xz rust-23f18a096f9843595eff5e408653187f49114977.zip | |
Re-enable typestate_check in build, was lost during merge. Sorry.
Diffstat (limited to 'src/comp/middle')
| -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 9b670fc1..46bf6a4c 100644 --- a/src/comp/middle/typestate_check.rs +++ b/src/comp/middle/typestate_check.rs @@ -341,7 +341,7 @@ impure fn find_pre_post_item(fn_info enclosing, &item i) -> item { case (ast.item_ty(_,_,_,_,_)) { ret i; } - case (ast.item_tag(_,_,_,_)) { + case (ast.item_tag(_,_,_,_,_)) { ret i; } case (ast.item_obj(?id, ?o, ?ps, ?di, ?a)) { |