diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-08-26 00:57:14 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-08-26 00:59:41 -0700 |
| commit | b0db13956f4f106c4bf5a9210c7df439b34506a4 (patch) | |
| tree | e130bec88faad321a847c33b0e343b0b92612a74 /src/comp/syntax | |
| parent | 1b60bba141c54f374d3378aa229c756d4a8f7f3d (diff) | |
Revert "Use typestate constraints for trans_be"
This reverts commit 1b60bba141c54f374d3378aa229c756d4a8f7f3d. (Need a snapshot first)
Diffstat (limited to 'src/comp/syntax')
| -rw-r--r-- | src/comp/syntax/ast_util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/ast_util.rs b/src/comp/syntax/ast_util.rs index 15f41af5cac..517e252dd9c 100644 --- a/src/comp/syntax/ast_util.rs +++ b/src/comp/syntax/ast_util.rs @@ -167,8 +167,8 @@ fn is_exported(i: ident, m: _mod) -> bool { ret count == 0u && !nonlocal; } -pure fn is_call_expr(e: @expr) -> bool { - alt e.node { expr_call(_, _) { true } _ { false } } +fn is_call_expr(e: @expr) -> bool { + alt e.node { expr_call(_, _) { ret true; } _ { ret false; } } } fn is_constraint_arg(e: @expr) -> bool { |
