aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me/walk.ml
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-07-15 15:20:04 -0700
committerPatrick Walton <[email protected]>2010-07-15 15:20:04 -0700
commit0b675a021a73a3dfa09079790a50302aeb6d1616 (patch)
tree9bea8d18f02105844d05170450238ad19a7a0666 /src/boot/me/walk.ml
parentCorrect the way we get typarams when dropping an obj type in drop_ty by using... (diff)
downloadrust-0b675a021a73a3dfa09079790a50302aeb6d1616.tar.xz
rust-0b675a021a73a3dfa09079790a50302aeb6d1616.zip
Make mutability no longer a type constructor
Diffstat (limited to 'src/boot/me/walk.ml')
-rw-r--r--src/boot/me/walk.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/boot/me/walk.ml b/src/boot/me/walk.ml
index bb774c01..fac44170 100644
--- a/src/boot/me/walk.ml
+++ b/src/boot/me/walk.ml
@@ -386,16 +386,16 @@ and walk_stmt
| Ast.STMT_init_rec (lv, atab, base) ->
walk_lval v lv;
- Array.iter (fun (_, a) -> walk_atom v a) atab;
+ Array.iter (fun (_, _, a) -> walk_atom v a) atab;
walk_option (walk_lval v) base;
- | Ast.STMT_init_vec (lv, atoms) ->
+ | Ast.STMT_init_vec (lv, _, atoms) ->
walk_lval v lv;
Array.iter (walk_atom v) atoms
| Ast.STMT_init_tup (lv, mut_atoms) ->
walk_lval v lv;
- Array.iter (walk_atom v) mut_atoms
+ Array.iter (fun (_, atom) -> walk_atom v atom) mut_atoms
| Ast.STMT_init_str (lv, _) ->
walk_lval v lv
@@ -407,7 +407,7 @@ and walk_stmt
walk_option (walk_lval v) port;
walk_lval v chan;
- | Ast.STMT_init_box (dst, src) ->
+ | Ast.STMT_init_box (dst, _, src) ->
walk_lval v dst;
walk_atom v src