Bring swap through typechecking and typestate.

This commit is contained in:
Michael Sullivan 2011-06-13 17:34:54 -07:00 committed by Graydon Hoare
parent 066599104a
commit cfd1f74ebb
7 changed files with 34 additions and 0 deletions

View file

@ -1528,6 +1528,7 @@ fn expr_ann(&@ast::expr e) -> ast::ann {
case (ast::expr_block(_, ?a)) { ret a; }
case (ast::expr_move(_, _, ?a)) { ret a; }
case (ast::expr_assign(_, _, ?a)) { ret a; }
case (ast::expr_swap(_,_,?a)) { ret a; }
case (ast::expr_assign_op(_, _, _, ?a)) { ret a; }
case (ast::expr_send(_, _, ?a)) { ret a; }
case (ast::expr_recv(_, _, ?a)) { ret a; }