From 23f18a096f9843595eff5e408653187f49114977 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 1 Apr 2011 17:23:56 -0700 Subject: Re-enable typestate_check in build, was lost during merge. Sorry. --- src/comp/middle/typestate_check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/middle') 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)) { -- cgit v1.2.3