Revert "Use different syntax for checks that matter to typestate"
This reverts commit aa25f22f19
. It broke stage2, not sure why yet.
This commit is contained in:
parent
764de078e7
commit
d08b443fff
182 changed files with 1239 additions and 1256 deletions
|
@ -662,7 +662,7 @@ fn fold_pat_tag(&env e, &span sp, ast.path p, vec[@ast.pat] args,
|
|||
fn fold_expr_path(&env e, &span sp, &ast.path p, &option.t[def] d,
|
||||
ann a) -> @ast.expr {
|
||||
auto n_idents = _vec.len[ast.ident](p.node.idents);
|
||||
assert (n_idents != 0u);
|
||||
check (n_idents != 0u);
|
||||
|
||||
auto index = new_def_hash[def_wrap]();
|
||||
auto d = find_final_def(e, index, sp, p.node.idents, ns_value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue