Switch ast.is_call_expr check in trans to non-typestate form.
This commit is contained in:
parent
890d027b65
commit
84dd64b6cf
1 changed files with 1 additions and 1 deletions
|
@ -3215,7 +3215,7 @@ fn trans_ret(@block_ctxt cx, &option.t[@ast.expr] e) -> result {
|
|||
|
||||
fn trans_be(@block_ctxt cx, @ast.expr e) -> result {
|
||||
// FIXME: This should be a typestate precondition
|
||||
check ast.is_call_expr(e);
|
||||
check (ast.is_call_expr(e));
|
||||
// FIXME: Turn this into a real tail call once
|
||||
// calling convention issues are settled
|
||||
ret trans_ret(cx, some(e));
|
||||
|
|
Loading…
Reference in a new issue