Working on 2 argument spawn. The arguments seem to be copied correctly once, but then they get lost.
This commit is contained in:
parent
bb4c7a9c68
commit
dad426419c
3 changed files with 22 additions and 5 deletions
|
|
@ -5882,9 +5882,7 @@ fn trans_spawn(&@block_ctxt cx,
|
|||
e));
|
||||
}
|
||||
|
||||
// Make the tuple. We have to reverse the types first though.
|
||||
//vec::reverse[ty::t](arg_tys);
|
||||
//vec::reverse[ValueRef](arg_vals);
|
||||
// Make the tuple.
|
||||
auto args_ty = ty::mk_imm_tup(cx.fcx.lcx.ccx.tcx, arg_tys);
|
||||
|
||||
// Allocate and fill the tuple.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue