aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me/semant.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/semant.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/semant.ml')
-rw-r--r--src/boot/me/semant.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/me/semant.ml b/src/boot/me/semant.ml
index 7b18a5bc..434fb025 100644
--- a/src/boot/me/semant.ml
+++ b/src/boot/me/semant.ml
@@ -583,13 +583,13 @@ let atoms_slots (cx:ctxt) (az:Ast.atom array) : node_id array =
;;
let tup_inputs_slots (cx:ctxt) (az:Ast.tup_input array) : node_id array =
- Array.concat (List.map (atom_slots cx) (Array.to_list az))
+ Array.concat (List.map (atom_slots cx) (Array.to_list (Array.map snd az)))
;;
let rec_inputs_slots (cx:ctxt)
(inputs:Ast.rec_input array) : node_id array =
Array.concat (List.map
- (fun (_, atom) -> atom_slots cx atom)
+ (fun (_, _, atom) -> atom_slots cx atom)
(Array.to_list inputs))
;;